System documentation of the GNU Image-Finding Tool

CSelfDestroyPointer< T > Class Template Reference

destroys the element it points to or not (depending on user's choice). More...

#include <CSelfDestroyPointer.h>

Inherited by CSelfClonePointer< T >.

List of all members.

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


Detailed Description

template<class T>
class CSelfDestroyPointer< T >

destroys the element it points to or not (depending on user's choice).
The documentation for this class was generated from the following file:

Need for discussion? Want to contribute? Contact
help-gift@gnu.org Generated using Doxygen