destroys the element it points to or not (depending on user's choice). More...
#include <CSelfDestroyPointer.h>
Public Member Functions | |
void | resetWithoutDeleting () |
bool | isSelfDestroyer () const |
void | setIsSelfDestroyer (bool inisSelfDestroyer=true) const |
void | unsetIsSelfDestroyer () const |
T * | operator= (T *inPointer) |
T & | operator* () |
T const & | operator* () const |
T * | operator-> () |
T const * | operator-> () const |
CSelfDestroyPointer (T *, bool=true) | |
CSelfDestroyPointer (const CSelfDestroyPointer< T > &inSelfDestroyPointer) | |
operator bool () const | |
operator T * () const |
Protected Attributes | |
T * | mPointer |
destroys the element it points to or not (depending on user's choice).