CleanupRelease Class Reference

#include <e32base.h>

Link against: Pbk2UIExt.lib

class CleanupRelease
Public Member Functions
voidPushL(T &)

Detailed Description

A utility class used by the templated function CleanupReleasePushL() to create a TCleanupItem item that will perform a release type operation on the class T type object.

See also: CleanupReleasePushL()

Member Function Documentation

PushL ( T & )

voidPushL(T &aRef)[static, inline]

Creates a TCleanupItem for the specified object.

The cleanup operation is the private static function Release() of this class.

ParameterDescription
aRefThe object for which a TCleanupItem is to be constructed.