CDataDelete Class Reference

class CDataDelete : public CDataNoDelete

Provides a wrapper around an HBufC16: the buffer is deleted when the object is deleted.

Inherits from

Constructor & Destructor Documentation

CDataDelete(HBufC16 *)

CDataDelete(HBufC16 *aData)[inline]

Constructor.

Parameters

HBufC16 * aDataBuffer to wrap

~CDataDelete()

~CDataDelete()[inline, virtual]

Destructor.

The wrapped buffer is deleted.

Member Functions Documentation

ResetDataPointer(HBufC16 *)

voidResetDataPointer(HBufC16 *aData)[inline, virtual]

Sets the buffer that is wrapped.

The existing value is deleted.

Parameters

HBufC16 * aDataBuffer to wrap