ESock::CCommsDataObjectBase Class Reference

class ESock::CCommsDataObjectBase : public CBase

Container class for the XCommsDataObject . Responsible for owning, serialising, and deserialising the CommsDataObject during API calls

Note: A CommsDataObject has no connection to the similarly named CommsDat database or any of its associated classes.

XCommsDataObject

Inherits from

  • ESock::CCommsDataObjectBase

Constructor & Destructor Documentation

CCommsDataObjectBase(XCommsDataObject *)

IMPORT_C CCommsDataObjectBase ( XCommsDataObject * aDataObject ) [protected]

C'tor for the CCommsDataObject class.

Parameters

XCommsDataObject * aDataObject A ptr to the data object to take ownership of

~CCommsDataObjectBase()

IMPORT_C ~CCommsDataObjectBase ( )

'tor for the CCommsDataObject class

Member Functions Documentation

Copy(const TAny *)

IMPORT_C void Copy ( const TAny * aData ) [virtual]

Parameters

const TAny * aData

Length()

IMPORT_C TInt Length ( ) const [virtual]

Load(TPtrC8 &)

IMPORT_C TInt Load ( TPtrC8 & aBuffer ) [virtual]

Parameters

TPtrC8 & aBuffer

LoadL(TPtrC8 &)

IMPORT_C CCommsDataObjectBase * LoadL ( TPtrC8 & aBuffer ) [static]

Parameters

TPtrC8 & aBuffer

NewL(XCommsDataObject *)

IMPORT_C CCommsDataObjectBase * NewL ( XCommsDataObject * aDataObject ) [static]

NewL for the CCommsDataObject class.

Parameters

XCommsDataObject * aDataObject A ptr to the data object to take ownership of

Store(TDes8 &)

IMPORT_C TInt Store ( TDes8 & aBuffer ) const [virtual]

Parameters

TDes8 & aBuffer

Member Data Documentation

XCommsDataObject * iDataObject

XCommsDataObject * iDataObject [protected]