ConnMonIdsArrayPckg Class Reference

class ConnMonIdsArrayPckg

Class to contain a package of an array of TConnMonId objects.

Constructor & Destructor Documentation

ConnMonIdsArrayPckg(const RArray< TConnMonId > &, TUint)

ConnMonIdsArrayPckg ( const RArray < TConnMonId > & aRef,
TUint aBufSize
)

Constructor. Constructs the package of an array of TConnMonId objects on the heap.

Parameters

const RArray < TConnMonId > & aRef Array of TConnMonId objects.
TUint aBufSize Size of the buffer, intended to contain the package.

ConnMonIdsArrayPckg(TUint)

IMPORT_C ConnMonIdsArrayPckg ( TUint aBufSize )

Constructor. Constructs an empty package on the heap.

Parameters

TUint aBufSize Size of the buffer, intended to contain the package.

~ConnMonIdsArrayPckg()

IMPORT_C ~ConnMonIdsArrayPckg ( ) [virtual]

Destructor.

Member Functions Documentation

Buf()

IMPORT_C HBufC * Buf ( ) const

Obtains a pointer to the package buffer.

UnpackToL(RArray< TConnMonId > &)

IMPORT_C void UnpackToL ( RArray < TConnMonId > & aRef ) const

Unpacks the package to an array of TConnMonId objects.

Parameters

RArray < TConnMonId > & aRef Array that will contain the unpacked objects.

Member Data Documentation

HBufC * iBuf

HBufC * iBuf [protected]

Pointer to the package buffer on the heap.