Public Member Functions | |
virtual | ~DESTRUCTEUR_GENERIQUE_ () |
virtual destructor | |
virtual void | operator() (void)=0 |
performs the destruction | |
Static Public Member Functions | |
static const int | Ajout (DESTRUCTEUR_GENERIQUE_ &objet) |
adds a destruction object to the list of destructions | |
Static Public Attributes | |
static std::list < DESTRUCTEUR_GENERIQUE_ * > * | Destructeurs = 0 |
Definition
The DESTRUCTEUR_GENERIQUE_ abstract class describes the comportement of any destruction object. Tis type is used to create a list of miscellaneous destruction object.
Usage
The only way to use the DESTRUCTEUR_GENERIQUE_ class is inheritance : class DESTRUCTEUR_SPECIFIQUE_ : public DESTRUCTEUR_GENERIQUE_
Design description
A generic destructor supply two functionalities :
virtual DESTRUCTEUR_GENERIQUE_::~DESTRUCTEUR_GENERIQUE_ | ( | ) | [inline, virtual] |
virtual destructor
const int DESTRUCTEUR_GENERIQUE_::Ajout | ( | DESTRUCTEUR_GENERIQUE_ & | objet | ) | [static] |
adds a destruction object to the list of destructions
Adds a destruction object to the list of actions to be performed at the end of the process
virtual void DESTRUCTEUR_GENERIQUE_::operator() | ( | void | ) | [pure virtual] |
performs the destruction
Implemented in DESTRUCTEUR_DE_< TYPE >.