Location:
e32base.h
class TCleanupItem;
Encapsulates a cleanup operation and an object on which the operation is to be performed.
The class allows cleanup to be more sophisticated than simply deleting objects, for example, releasing access to some shared resource.
Defined in TCleanupItem
:
TCleanupItem()
, TCleanupItem()
inline TCleanupItem(TCleanupOperation anOperation);
Constructs the object with a cleanup operation.
|
inline TCleanupItem(TCleanupOperation anOperation, TAny *aPtr);
Constructs the object with a cleanup operation and a pointer to the object to be cleaned up.
|