#include <CNoDelete.h>
Public Member Functions | |
INLINE void | activate () |
activate this. | |
INLINE void | deActivate () |
activate this. | |
INLINE | CNoDelete () |
activate this. | |
INLINE | ~CNoDelete () |
activate this. | |
Protected Attributes | |
bool | mIsActivated |
is this activated |
If an instantiation of this class is activated, it will bomb in the moment when the destructor is called.
: Wolfgang Müller
INLINE CNoDelete::CNoDelete | ( | ) | [inline] |
activate this.
This means: destruction of *this will be possible
INLINE CNoDelete::~CNoDelete | ( | ) | [inline] |
activate this.
This means: destruction of this will bomb the program using a zero assertion
INLINE void CNoDelete::activate | ( | ) | [inline] |
activate this.
This means: destruction of this will bomb the program using an assertion of !mIsActivated
INLINE void CNoDelete::deActivate | ( | ) | [inline] |
activate this.
This means: destruction of *this will bomb the program using a zero assertion