Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: cnode.h

Class CDataDelete

class CDataDelete : public CDataNoDelete;

Description

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

Derivation

Members

Defined in CDataDelete:
CDataDelete(), ResetDataPointer(), ~CDataDelete()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CDataNoDelete:
Data(), SetData(), iData


Construction and destruction


CDataDelete()

inline CDataDelete(HBufC16 *aData);

Description

Constructor.

Parameters

HBufC16 *aData

Buffer to wrap


~CDataDelete()

inline virtual ~CDataDelete();

Description

Destructor.

The wrapped buffer is deleted.

[Top]


Member functions


ResetDataPointer()

inline virtual void ResetDataPointer(HBufC16 *aData);

Description

Sets the buffer that is wrapped.

The existing value is deleted.

Parameters

HBufC16 *aData

Buffer to wrap