class CDataNoDelete : public CBase |
Provides a wrapper around an HBufC16 : the buffer is not deleted when the object is deleted.
Public Member Functions | |
---|---|
CDataNoDelete ( HBufC16 *) | |
~CDataNoDelete () | |
HBufC16 * | Data () |
void | ResetDataPointer ( HBufC16 *) |
HBufC16 * | SetData ( HBufC16 *) |
Protected Attributes | |
---|---|
HBufC16 * | iData |
CDataNoDelete | ( | HBufC16 * | aData | ) | [inline] |
Constructor.
HBufC16 * aData | Buffer to wrap |
~CDataNoDelete | ( | ) | [inline, virtual] |
Destructor.
The wrapped buffer is not deleted.
void | ResetDataPointer | ( | HBufC16 * | aData | ) | [inline, virtual] |
Sets the buffer that is wrapped.
The existing value is forgotten.
HBufC16 * aData | Buffer to wrap |
HBufC16 * | SetData | ( | HBufC16 * | aData | ) | [inline] |
Changes the buffer that is wrapped.
HBufC16 * aData | Buffer to wrap |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.