Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Destroy Class Reference

A destructor interface. More...

#include <Destroy.h>

Inheritance diagram for Destroy:

Inheritance graph
[legend]
List of all members.

Public Methods

virtual ~Destroy ()
 a virtual destructor.


Protected Methods

virtual void Clear ()
 the function called by the destructor. More...


Detailed Description

A destructor interface.

When implementing this interface, a class needs only to define the Clear() function. You get the virtual Destructor for free.


Member Function Documentation

void Destroy::Clear ( ) [inline, protected, virtual]
 

the function called by the destructor.

when defining this, you want to delete your pointers and anything else you would do in your destructor


The documentation for this class was generated from the following file:
Generated at Wed May 2 00:24:42 2001 for API by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001