System documentation of the GNU Image-Finding Tool

Public Member Functions | Protected Attributes

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

List of all members.

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

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

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


Member Function Documentation

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


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