ConnMonIdsArrayPckg Class Reference

#include <mw/rconnmon.h>

class ConnMonIdsArrayPckg
Protected Attributes
HBufC *iBuf
Public Member Functions
ConnMonIdsArrayPckg(const RArray< TConnMonId > &, TUint)
ConnMonIdsArrayPckg(TUint)
virtual ~ConnMonIdsArrayPckg()
IMPORT_C HBufC *Buf()
IMPORT_C voidUnpackToL(RArray< TConnMonId > &)

Detailed Description

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

Member Attribute Documentation

iBuf

HBufC *iBuf[protected]

Pointer to the package buffer on the heap.

Constructor & Destructor Documentation

ConnMonIdsArrayPckg ( const RArray< TConnMonId > &, TUint )

ConnMonIdsArrayPckg(const RArray< TConnMonId > &aRef,
TUintaBufSize
)

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

ParameterDescription
aRefArray of TConnMonId objects.
aBufSizeSize of the buffer, intended to contain the package.

ConnMonIdsArrayPckg ( TUint )

IMPORT_CConnMonIdsArrayPckg(TUintaBufSize)

Constructor. Constructs an empty package on the heap.

ParameterDescription
aBufSizeSize of the buffer, intended to contain the package.

~ConnMonIdsArrayPckg ( )

IMPORT_C~ConnMonIdsArrayPckg()[virtual]

Destructor.

Member Function Documentation

Buf ( )

IMPORT_C HBufC *Buf()const

Obtains a pointer to the package buffer.

Returns: Pointer to the package buffer.

UnpackToL ( RArray< TConnMonId > & )

IMPORT_C voidUnpackToL(RArray< TConnMonId > &aRef)const

Unpacks the package to an array of TConnMonId objects.

ParameterDescription
aRefArray that will contain the unpacked objects.