csPtrWrap< T > Class Template Reference
Simple pointer wrapper class. More...
#include <csutil/ptrwrap.h>
Public Member Functions | |
csPtrWrap (T *ptr) | |
csPtrWrap (const csPtrWrap &other) | |
csPtrWrap () | |
Constructor. | |
operator const T * () const | |
Obtain the wrapped pointer. | |
operator T *& () | |
Obtain the wrapped pointer. | |
csPtrWrap & | operator= (const T *ptr) |
csPtrWrap & | operator= (T *ptr) |
Assign another pointer. |
Detailed Description
template<typename T>
class csPtrWrap< T >
Simple pointer wrapper class.
The difference to a "normal" pointer is that this one will be initialized with 0.
Definition at line 32 of file ptrwrap.h.
Constructor & Destructor Documentation
Member Function Documentation
template<typename T>
csPtrWrap< T >::operator const T * | ( | ) | const [inline] |
template<typename T>
csPtrWrap< T >::operator T *& | ( | ) | [inline] |
The documentation for this class was generated from the following file:
- csutil/ptrwrap.h
Generated for Crystal Space by doxygen 1.4.7