CleanupClose Class Reference

#include <e32base.h>

class CleanupClose
Public Member Functions
voidPushL(T &)

Detailed Description

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

See also: CleanupClosePushL()

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 Close() of this class.

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