class CleanupInternalRelease |
A utility class used by the templated function CleanupInternalReleasePushL() to create a TCleanupItem item that will perform a InternalRelease operation on th eclass T type object.
CleanupInternalReleasePushL()
Public Member Functions | |
---|---|
void | PushL (T &) |
Private Member Functions | |
---|---|
void | InternalRelease ( TAny *) |
void | InternalRelease | ( | TAny * | aPtr | ) | [private, static] |
The cleanup operation to be performed.
TAny * aPtr | A pointer to the object for which clean up is to be performed. The implementation calls Close() on this object. |
void | PushL | ( | T & | aRef | ) | [static, inline] |
Creates a TCleanupItem for the specified object.
The cleanup operation is the private static function Close() of this class.
T & aRef | The object for which a TCleanupItem is to be constructed. |
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.