Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <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:

Inherited from CBase:

Inherited from CDataNoDelete:


Construction and destruction


CDataDelete(HBufC16 *)

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(HBufC16 *)

inline virtual void ResetDataPointer(HBufC16 *aData);

Description

Sets the buffer that is wrapped.

The existing value is deleted.

Parameters

HBufC16 *aData

Buffer to wrap