![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class CDataNoDelete : public CBase;
Provides a wrapper around an HBufC16
: the buffer is not deleted when the object is deleted.
CBase
-
Base class for all classes to be instantiated on the heap.
CDataNoDelete
- Provides a wrapper around an HBufC16: the buffer is not deleted when the object ...
Defined in CDataNoDelete
:
CDataNoDelete(HBufC16 *)
Constructor.Data()
Gets the wrapped buffer.ResetDataPointer(HBufC16 *)
Sets the buffer that is wrapped.SetData(HBufC16 *)
Changes the buffer that is wrapped.iData
The wrapped buffer. ~CDataNoDelete()
Destructor.Inherited from CBase
:
Delete(CBase *)
Deletes the specified object.Extension_(TUint,TAny *&,TAny *)
Extension function operator new(TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TAny *)
Initialises the object to binary zeroes.operator new(TUint,TLeave)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TLeave,TUint)
Allocates the object from the heap and then initialises its contents to binary z...operator new(TUint,TUint)
Allocates the object from the heap and then initialises its contents to binary z...inline CDataNoDelete(HBufC16 *aData);
Constructor.
|
inline HBufC16* SetData(HBufC16 *aData);
Changes the buffer that is wrapped.
|
|
inline virtual void ResetDataPointer(HBufC16 *aData);
Sets the buffer that is wrapped.
The existing value is forgotten.
|
inline HBufC16* Data();
Gets the wrapped buffer.
|
protected: HBufC16 * iData;
The wrapped buffer.