CParameterBundle Class Reference

class CParameterBundle : public CParameterBundleBase

Container for (bundle of) parameter set containers.

This class can't be used directly, but must be subclassed, as the NewL/LoadL refer to the subclass.

May contain and 0..N parameter families of type PARAMSETCONTAINERTYPE.

Inherits from

Constructor & Destructor Documentation

CParameterBundle()

CParameterBundle ( ) [protected, inline]

Member Functions Documentation

FindParamSetContainer(TUint32)

PARAMSETCONTAINERTYPE * FindParamSetContainer ( TUint32 aContainerId ) [inline]

Search the parameter bundle for a parameter set container

Parameters

TUint32 aContainerId Id of the container to match against

GetParamSetContainer(TInt)

PARAMSETCONTAINERTYPE * GetParamSetContainer ( TInt aIndex ) [inline]

Pick out the parameter set container at the given index in the bundle.

Parameters

TInt aIndex index of the container to get

GetParamSetContainer(TInt)

const PARAMSETCONTAINERTYPE * GetParamSetContainer ( TInt aIndex ) const [inline]

Parameters

TInt aIndex

Load(const TDesC8 &)

TInt Load ( const TDesC8 & aDes ) [inline]

Instructs this sub-connection bundle to set its members based on the serialiesd data in the buffer passed.

Parameters

const TDesC8 & aDes Buffer containing the serialised bundle object

LoadL(TDesC8 &)

SUBCLASS * LoadL ( TDesC8 & aDes ) [static, inline]

Creates a new parameter set bundle from a buffer containing the serialised object.

Parameters

TDesC8 & aDes Buffer containing the serialised object information

NewL()

SUBCLASS * NewL ( ) [static, inline]

Creates a new instance of a parameter bundle (heap object).

Exceptions
leaves

with KErrNoMemory in out of memory conditions