TCleanupItem Class Reference
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.
Constructor & Destructor Documentation
TCleanupItem(TCleanupOperation)
Constructs the object with a cleanup operation.
Parameters
TCleanupOperation anOperation | A cleanup operation which will be invoked by the pop and destroy action resulting from a subsequent call to CleanupStack::PopAndDestroy(). |
TCleanupItem(TCleanupOperation, TAny *)
Constructs the object with a cleanup operation and a pointer to the object to be cleaned up.
Parameters
TCleanupOperation anOperation | A cleanup operation which will be invoked by the pop and destroy action resulting from a subsequent call to CleanupStack::PopAndDestroy(). |
TAny * aPtr | A pointer to an object which is the target of the cleanup operation. |
Member Data Documentation
TCleanupOperation
iOperation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.