CleanupArrayDelete Class Reference

#include <e32base.h>

Link against: EAACPlusAudioControllerUtility.lib

class CleanupArrayDelete
Public Member Functions
voidPushL(T *)

Detailed Description

A utility class used by the templated function CleanupArrayDeletePushL() to create a TCleanupItem item that will perform a delete type operation on an array of class T type objects.

See also: CleanupArrayDeletePushL()

Member Function Documentation

PushL ( T * )

voidPushL(T *aPtr)[static, inline]

Creates a TCleanupItem for the specified array.

The cleanup operation is the private static function ArrayDelete() of this class, which deletes the specified array.

ParameterDescription
aPtrThe array of class T type objects for which a TCleanupItem is to be constructed.