![]() |
Public API Reference |
![]() |
Simple pointer wrapper class. More...
#include <csutil/ptrwrap.h>
Public Member Functions | |
csPtrWrap () | |
Constructor. | |
csPtrWrap (const csPtrWrap &other) | |
Constructor. | |
csPtrWrap (T *ptr) | |
Constructor. | |
operator const T * () const | |
Obtain the wrapped pointer. | |
operator T *& () | |
Obtain the wrapped pointer. | |
csPtrWrap & | operator= (T *ptr) |
Assign another pointer. | |
csPtrWrap & | operator= (const T *ptr) |
Assign another pointer. |
Simple pointer wrapper class.
The difference to a "normal" pointer is that this one will be initialized with 0.
csPtrWrap< T >::operator const T * | ( | ) | const [inline] |
csPtrWrap< T >::operator T *& | ( | ) | [inline] |