CDataDelete Class Reference

#include <mw/cnode.h>

Link against: xmlelemt.lib

class CDataDelete : public CDataNoDelete

Inherits from

Detailed Description

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

Constructor & Destructor Documentation

CDataDelete ( HBufC16 * )

CDataDelete(HBufC16 *aData)[inline]

Constructor.

ParameterDescription
aDataBuffer to wrap

~CDataDelete ( )

~CDataDelete()[inline, virtual]

Destructor.

The wrapped buffer is deleted.

Member Function Documentation

ResetDataPointer ( HBufC16 * )

voidResetDataPointer(HBufC16 *aData)[inline, virtual]

Reimplemented from CDataNoDelete::ResetDataPointer(HBufC16 *)

Sets the buffer that is wrapped.

The existing value is deleted.

ParameterDescription
aDataBuffer to wrap