class CleanupDelete |
A utility class used by the templated function CleanupDeletePushL() to create a TCleanupItem item that will perform a delete type operation on the class T type object.
void | Delete | ( | 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 deletes this object. |
void | PushL | ( | T * | aPtr | ) | [static, inline] |
Creates a TCleanupItem for the specified object.
The cleanup operation is the private static function Delete() of this class, which deletes the specified object.
T * aPtr | 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.