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 TInt PackQuery (const CMsvSearchSortQuery *)
IMPORT_C void UnpackQuery ( CMsvSearchSortQuery *)
Private Member Functions
TInt DoPackQuery (const TUint8 *&, const TUint8 *, const CMsvSearchSortQuery *)
void DoUnpackQuery ( TUint8 *&, CMsvSearchSortQuery *)
Private Attributes
HBufC8 *& iBuffer

Constructor & Destructor Documentation

TMsvPackQuery(HBufC8 *&)

IMPORT_C TMsvPackQuery ( 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 *)

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

Parameters

TUint8 *& aPtr
CMsvSearchSortQuery * aQuery

PackQuery(const CMsvSearchSortQuery *)

IMPORT_C TInt PackQuery ( const CMsvSearchSortQuery * aQuery )

Parameters

const CMsvSearchSortQuery * aQuery

UnpackQuery(CMsvSearchSortQuery *)

IMPORT_C void UnpackQuery ( CMsvSearchSortQuery * aQuery )

Parameters

CMsvSearchSortQuery * aQuery

Member Data Documentation

HBufC8 *& iBuffer

HBufC8 *& iBuffer [private]