CDataNoDelete Class Reference

#include <mw/cnode.h>

class CDataNoDelete : public CBase

Inherits from

Detailed Description

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

Member Attribute Documentation

iData

HBufC16 *iData[protected]

The wrapped buffer.

Constructor & Destructor Documentation

CDataNoDelete ( HBufC16 * )

CDataNoDelete(HBufC16 *aData)[inline]

Constructor.

Parameters
aDataBuffer to wrap

~CDataNoDelete ( )

~CDataNoDelete()[inline, virtual]

Destructor.

The wrapped buffer is not deleted.

Member Function Documentation

Data ( )

HBufC16 *Data()[inline]

Gets the wrapped buffer.

Return Value
The wrapped buffer

ResetDataPointer ( HBufC16 * )

voidResetDataPointer(HBufC16 *aData)[inline, virtual]

Sets the buffer that is wrapped.

The existing value is forgotten.

Parameters
aDataBuffer to wrap

SetData ( HBufC16 * )

HBufC16 *SetData(HBufC16 *aData)[inline]

Changes the buffer that is wrapped.

Parameters
aDataBuffer to wrap
Return Value
The previous wrapped buffer