System documentation of the GNU Image-Finding Tool

Public Member Functions | Protected Attributes | List of all members
CNoDelete Class Reference

The use of this class is to control where an element is destroyed. More...

#include <CNoDelete.h>

Inheritance diagram for CNoDelete:
CXMLElement CAlgorithm

Public Member Functions

INLINE void activate ()
 activate this. More...
 
INLINE void deActivate ()
 activate this. More...
 
INLINE CNoDelete ()
 activate this. More...
 
INLINE ~CNoDelete ()
 activate this. More...
 

Protected Attributes

bool mIsActivated
 is this activated
 

Detailed Description

The use of this class is to control where an element is destroyed.

If an instantiation of this class is activated, it will bomb in the moment when the destructor is called.

: Wolfgang Müller

Constructor & Destructor Documentation

§ CNoDelete()

INLINE CNoDelete::CNoDelete ( )
inline

activate this.

This means: destruction of *this will be possible

§ ~CNoDelete()

INLINE CNoDelete::~CNoDelete ( )
inline

activate this.

This means: destruction of this will bomb the program using a zero assertion

Member Function Documentation

§ activate()

INLINE void CNoDelete::activate ( )
inline

activate this.

This means: destruction of this will bomb the program using an assertion of !mIsActivated

§ deActivate()

INLINE void CNoDelete::deActivate ( )
inline

activate this.

This means: destruction of *this will bomb the program using a zero assertion


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