TMsvPackQuery Class Reference

class TMsvPackQuery

Packs TMsvSearchSortQuery object into a buffer for sending across IPC. Also unpacks the buffer to TMsvSearchSortQuery

Public Member Functions
TMsvPackQuery(HBufC8 *&)
IMPORT_C TIntPackQuery(const CMsvSearchSortQuery *)
IMPORT_C voidUnpackQuery(CMsvSearchSortQuery *)
Private Member Functions
TInt DoPackQuery(const TUint8 *&, const TUint8 *, const CMsvSearchSortQuery *)
voidDoUnpackQuery(TUint8 *&, CMsvSearchSortQuery *)
Private Attributes
HBufC8 *&iBuffer

Constructor & Destructor Documentation

TMsvPackQuery(HBufC8 *&)

IMPORT_CTMsvPackQuery(HBufC8 *&aBuffer)

Parameters

HBufC8 *& aBuffer

Member Functions Documentation

DoPackQuery(const TUint8 *&, const TUint8 *, const CMsvSearchSortQuery *)

TInt DoPackQuery(const TUint8 *&aPtrStart,
const TUint8 *aPtrEnd,
const CMsvSearchSortQuery *aQuery
)[private]

Parameters

const TUint8 *& aPtrStart
const TUint8 * aPtrEnd
const CMsvSearchSortQuery * aQuery

DoUnpackQuery(TUint8 *&, CMsvSearchSortQuery *)

voidDoUnpackQuery(TUint8 *&aPtr,
CMsvSearchSortQuery *aQuery
)[private]

Parameters

TUint8 *& aPtr
CMsvSearchSortQuery * aQuery

PackQuery(const CMsvSearchSortQuery *)

IMPORT_C TIntPackQuery(const CMsvSearchSortQuery *aQuery)

Parameters

const CMsvSearchSortQuery * aQuery

UnpackQuery(CMsvSearchSortQuery *)

IMPORT_C voidUnpackQuery(CMsvSearchSortQuery *aQuery)

Parameters

CMsvSearchSortQuery * aQuery

Member Data Documentation

HBufC8 *& iBuffer

HBufC8 *&iBuffer[private]