CDataNoDelete Class Reference

class CDataNoDelete : public CBase

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

Inherits from

Constructor & Destructor Documentation

CDataNoDelete(HBufC16 *)

CDataNoDelete(HBufC16 *aData)[inline]

Constructor.

Parameters

HBufC16 * aDataBuffer to wrap

~CDataNoDelete()

~CDataNoDelete()[inline, virtual]

Destructor.

The wrapped buffer is not deleted.

Member Functions Documentation

Data()

HBufC16 *Data()[inline]

Gets the wrapped buffer.

ResetDataPointer(HBufC16 *)

voidResetDataPointer(HBufC16 *aData)[inline, virtual]

Sets the buffer that is wrapped.

The existing value is forgotten.

Parameters

HBufC16 * aDataBuffer to wrap

SetData(HBufC16 *)

HBufC16 *SetData(HBufC16 *aData)[inline]

Changes the buffer that is wrapped.

Parameters

HBufC16 * aDataBuffer to wrap

Member Data Documentation

HBufC16 * iData

HBufC16 *iData[protected]

The wrapped buffer.