Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <e32base.h>

Class CleanupClose

class CleanupClose;

Description

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

Members

Defined in CleanupClose:


Member functions


PushL(T &)

static inline void PushL(T &aRef);

Description

Creates a TCleanupItem for the specified object.

The cleanup operation is the private static function CleanupClose::Close(TAny *) of this class.

Parameters

T &aRef

The object for which a TCleanupItem is to be constructed.