Pioneer
Loading...
Searching...
No Matches
Public Member Functions | List of all members
RefCountedPtr< T > Class Template Reference

#include <RefCounted.h>

Inheritance diagram for RefCountedPtr< T >:
Inheritance graph
[legend]
Collaboration diagram for RefCountedPtr< T >:
Collaboration graph
[legend]

Public Member Functions

 RefCountedPtr ()
 
 RefCountedPtr (T *p)
 
 RefCountedPtr (const this_type &b)
 
template<typename U >
 RefCountedPtr (const RefCountedPtr< U > &b)
 
 ~RefCountedPtr ()
 
this_typeoperator= (const this_type &b)
 
template<typename U >
this_typeoperator= (const RefCountedPtr< U > &b)
 
bool Unique () const
 
- Public Member Functions inherited from SmartPtrBase< RefCountedPtr< T >, T >
void Reset (T *p=0)
 
T & operator* () const
 
T * operator-> () const
 
T * Get () const
 
bool Valid () const
 
 operator safe_bool () const
 
bool operator! () const
 
void Swap (this_type &b)
 

Additional Inherited Members

- Protected Member Functions inherited from SmartPtrBase< RefCountedPtr< T >, T >
 SmartPtrBase ()
 
 SmartPtrBase (T *p)
 
- Protected Attributes inherited from SmartPtrBase< RefCountedPtr< T >, T >
 m_ptr
 
T * m_ptr
 
return p
 

Constructor & Destructor Documentation

◆ RefCountedPtr() [1/4]

template<typename T >
RefCountedPtr< T >::RefCountedPtr ( )
inline

◆ RefCountedPtr() [2/4]

template<typename T >
RefCountedPtr< T >::RefCountedPtr ( T *  p)
inlineexplicit

◆ RefCountedPtr() [3/4]

template<typename T >
RefCountedPtr< T >::RefCountedPtr ( const this_type b)
inline

◆ RefCountedPtr() [4/4]

template<typename T >
template<typename U >
RefCountedPtr< T >::RefCountedPtr ( const RefCountedPtr< U > &  b)
inline

◆ ~RefCountedPtr()

template<typename T >
RefCountedPtr< T >::~RefCountedPtr ( )
inline

Member Function Documentation

◆ operator=() [1/2]

template<typename T >
template<typename U >
this_type & RefCountedPtr< T >::operator= ( const RefCountedPtr< U > &  b)
inline
Here is the call graph for this function:

◆ operator=() [2/2]

template<typename T >
this_type & RefCountedPtr< T >::operator= ( const this_type b)
inline
Here is the call graph for this function:

◆ Unique()

template<typename T >
bool RefCountedPtr< T >::Unique ( ) const
inline

The documentation for this class was generated from the following file: