TPckgDes Class Reference

class TPckgDes

TPckgDes - dynamic packaging using user allocated buffer

The buffer starts with structure <T> followed by an arbitrary buffer starting at iPtr8 the idea is that we can send a structure and dynamically allocated buffer as one continuous descriptor rather than pack a structure having a pointer to another descriptor.

Public Member Functions
TPckgDes ( TDes8 &)
TPtr8 Buf ()
void SetBufLengthL ( TInt )
T & operator() ()
Protected Attributes
TDes8 * iDes

Constructor & Destructor Documentation

TPckgDes(TDes8 &)

TPckgDes ( TDes8 & aDes ) [inline]

Parameters

TDes8 & aDes User buffer to hold data fetched.

Member Functions Documentation

Buf()

TPtr8 Buf ( ) [inline]

SetBufLengthL(TInt)

void SetBufLengthL ( TInt aNewLength ) [inline]

Parameters

TInt aNewLength

operator()()

T & operator() ( ) [inline]

Member Data Documentation

TDes8 * iDes

TDes8 * iDes [protected]