#include <TSmartPointer.h>
Public Member Functions | |
TSmartPointer () | |
TSmartPointer (T *pObject) | |
TSmartPointer (const TSmartPointer &other) | |
virtual | ~TSmartPointer () |
TSmartPointer & | operator= (const TSmartPointer &other) |
TSmartPointer & | operator= (T *pObject) |
T & | operator* () const |
T * | operator-> () const |
operator T * () const | |
operator const T * () const | |
operator bool () const | |
bool | operator! () const |
bool | operator== (const TSmartPointer &other) const |
bool | operator== (const T &other) const |
bool | operator!= (const TSmartPointer &other) const |
bool | operator!= (const T &other) const |
Private Member Functions | |
void | AddRef () |
void | Release () |
Private Attributes | |
T * | m_pObject |
Definition at line 29 of file TSmartPointer.h.
TSmartPointer< T >::TSmartPointer | ( | ) | [inline] |
Definition at line 35 of file TSmartPointer.h.
TSmartPointer< T >::TSmartPointer | ( | T * | pObject | ) | [inline] |
Definition at line 36 of file TSmartPointer.h.
TSmartPointer< T >::TSmartPointer | ( | const TSmartPointer< T > & | other | ) | [inline] |
Definition at line 37 of file TSmartPointer.h.
virtual TSmartPointer< T >::~TSmartPointer | ( | ) | [inline, virtual] |
Definition at line 39 of file TSmartPointer.h.
void TSmartPointer< T >::AddRef | ( | ) | [inline, private] |
Definition at line 75 of file TSmartPointer.h.
Referenced by TSmartPointer< CVolumeStatistics >::operator=(), and TSmartPointer< CVolumeStatistics >::TSmartPointer().
TSmartPointer< T >::operator bool | ( | ) | const [inline] |
Definition at line 63 of file TSmartPointer.h.
TSmartPointer< T >::operator const T * | ( | ) | const [inline] |
Definition at line 61 of file TSmartPointer.h.
TSmartPointer< T >::operator T * | ( | ) | const [inline] |
Definition at line 60 of file TSmartPointer.h.
bool TSmartPointer< T >::operator! | ( | ) | const [inline] |
Definition at line 65 of file TSmartPointer.h.
bool TSmartPointer< T >::operator!= | ( | const T & | other | ) | const [inline] |
Definition at line 69 of file TSmartPointer.h.
bool TSmartPointer< T >::operator!= | ( | const TSmartPointer< T > & | other | ) | const [inline] |
Definition at line 68 of file TSmartPointer.h.
T& TSmartPointer< T >::operator* | ( | ) | const [inline] |
Definition at line 57 of file TSmartPointer.h.
T* TSmartPointer< T >::operator-> | ( | ) | const [inline] |
Definition at line 58 of file TSmartPointer.h.
TSmartPointer& TSmartPointer< T >::operator= | ( | T * | pObject | ) | [inline] |
Definition at line 46 of file TSmartPointer.h.
TSmartPointer& TSmartPointer< T >::operator= | ( | const TSmartPointer< T > & | other | ) | [inline] |
Definition at line 41 of file TSmartPointer.h.
bool TSmartPointer< T >::operator== | ( | const T & | other | ) | const [inline] |
Definition at line 67 of file TSmartPointer.h.
bool TSmartPointer< T >::operator== | ( | const TSmartPointer< T > & | other | ) | const [inline] |
Definition at line 66 of file TSmartPointer.h.
void TSmartPointer< T >::Release | ( | ) | [inline, private] |
Definition at line 83 of file TSmartPointer.h.
Referenced by TSmartPointer< CVolumeStatistics >::operator=(), and TSmartPointer< CVolumeStatistics >::~TSmartPointer().
T* TSmartPointer< T >::m_pObject [private] |
Definition at line 98 of file TSmartPointer.h.
Referenced by TSmartPointer< CVolumeStatistics >::AddRef(), TSmartPointer< CVolumeStatistics >::operator bool(), TSmartPointer< CVolumeStatistics >::operator const T *(), TSmartPointer< CVolumeStatistics >::operator T *(), TSmartPointer< CVolumeStatistics >::operator!(), TSmartPointer< CVolumeStatistics >::operator!=(), TSmartPointer< CVolumeStatistics >::operator*(), TSmartPointer< CVolumeStatistics >::operator->(), TSmartPointer< CVolumeStatistics >::operator=(), TSmartPointer< CVolumeStatistics >::operator==(), and TSmartPointer< CVolumeStatistics >::Release().