#include <AnyConfig.h>
Public Methods | |
AcAutoDelete (AcConfiguration *pConfiguration) | |
Constructor method. More... | |
virtual | ~AcAutoDelete () |
Destructor method. More... | |
Private Methods | |
void | ConstructorInclude () |
Method which must be called first in a constructor. More... | |
void | DestructorInclude () |
Method which must be called first in a destructor. More... | |
Private Attributes | |
AcConfiguration* | _pConfiguration |
|
Constructor method. This class can be used to auto-cleanup Configuration pointers. Just pass the return value of any of the Configuration allocators to the constructor of this class on stack. When you function returns, the pointer will be automatically released.
|
|
Destructor method.
|
|
Method which must be called first in a constructor.
|
|
Method which must be called first in a destructor.
|