Public Member Functions | |
Constructor / Destructor | |
| CP_SmartRef () | |
| Constructor. | |
| CP_SmartRef (T *inObj, bool inTransferOwnership=false) | |
| CP_SmartRef (const CP_SmartRef< T > &inRef) | |
| template<class Other> | |
| CP_SmartRef (const CP_SmartRef< Other > &inRef) | |
| ~CP_SmartRef () | |
| Destructor. | |
operators | |
| T & | operator * () const |
| T * | operator-> () const |
| operator T * () const | |
| CP_SmartRef< T > & | operator= (const CP_SmartRef< T > &inRef) |
| template<class Other> | |
| CP_SmartRef< T > & | operator= (const CP_SmartRef< Other > &inRef) |
| CP_SmartRef< T > & | operator= (T *inObj) |
| template<class Other> | |
| CP_SmartRef< T > & | operator= (Other *inObj) |
Object management | |
| T * | Get () const |
| T * | Reset (T *inObj, bool inTransferOwnership=false) |
| T * | Release () |
Protected Attributes | |
| T * | fObj |
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
|||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
|
|
||||||||||
|
|
|
||||||||||||||
|
|
|
|||||||||
|
|
|
||||||||||||||||
|
|
|
|||||||||
|
|
|
|||||
|
|
1.4.0