CParameterBundleBase Class Reference

class CParameterBundleBase : public CBase

Bundle of (i.e. container for) parameter set containers.

The basic object shape and base type container manipulators. To be used only by CParameterBundle<PARAMETERSETCONTAINERTYPE,SUBCLASS>

May contain and 0..N parameter families.

Inherits from

  • CParameterBundleBase

Constructor & Destructor Documentation

CParameterBundleBase()

CParameterBundleBase()[protected, inline]

CParameterBundleBase(const CParameterBundleBase &)

CParameterBundleBase(const CParameterBundleBase &aBundle)[private]

Parameters

const CParameterBundleBase & aBundle

~CParameterBundleBase()

IMPORT_C~CParameterBundleBase()[virtual]

Member Functions Documentation

AddParamSetContainer(CParameterSetContainer &)

IMPORT_C TIntAddParamSetContainer(CParameterSetContainer &aContainer)

Add a parameter set container to the bundle.

Parameters

CParameterSetContainer & aContainerContainer to be added (bundle takes ownership)

AddParamSetContainerL(CParameterSetContainer &)

IMPORT_C voidAddParamSetContainerL(CParameterSetContainer &aContainer)
Add a parameter set container to the bundle.
Exceptions
Leaves

with KErrNoMemory in out of memory conditions

Parameters

CParameterSetContainer & aContainerContainer to be added (bundle takes ownership)

CountParamSetContainers()

TInt CountParamSetContainers()const [inline]

FindParamSetContainer(TUint32)

IMPORT_C CParameterSetContainer *FindParamSetContainer(TUint32aContainerId)

Search the parameter bundle for a parameter set container

Parameters

TUint32 aContainerIdId of the container to match against

FindParamSetContainer(TUint32)

const CParameterSetContainer *FindParamSetContainer(TUint32aContainerId)const [inline]

Parameters

TUint32 aContainerId

FindParameterSet(const Meta::STypeId &)

IMPORT_C XParameterSetBase *FindParameterSet(const Meta::STypeId &aTypeId)

Deep search the parameter bundle for a parameter set of given type

Parameters

const Meta::STypeId & aTypeIdId of the set type to match against

FindParameterSet(const Meta::STypeId &)

const XParameterSetBase *FindParameterSet(const Meta::STypeId &aTypeId)const [inline]

Parameters

const Meta::STypeId & aTypeId

GetParamSetContainer(TInt)

IMPORT_C CParameterSetContainer *GetParamSetContainer(TIntaIndex)

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

Parameters

TInt aIndexindex of the container to get

GetParamSetContainer(TInt)

const CParameterSetContainer *GetParamSetContainer(TIntaIndex)const [inline]

Parameters

TInt aIndex

Length()

IMPORT_C TUintLength()const

Calculates the length of buffer required to serialise this parameter set bundle.

NewL()

CParameterBundleBase *NewL()[static, inline]

RemoveParamSetContainer(TInt)

IMPORT_C CParameterSetContainer *RemoveParamSetContainer(TIntaIndex)

Remove a parameter set container from the bundle, returning ownership to the calling method

Parameters

TInt aIndexindex of the container to remove

ReplaceParamSetContainer(CParameterSetContainer *, CParameterSetContainer *)

IMPORT_C TIntReplaceParamSetContainer(CParameterSetContainer *aOld,
CParameterSetContainer *aNew
)

Replaces a given parameter set container with another. The old parameter set container is deleted, and the parameter bundle takes ownership of the new one

Parameters

CParameterSetContainer * aOldA parameter set container that exists in the parameter bundle
CParameterSetContainer * aNewThe parameter set container that will take the place of the old one

ReplaceParamSetContainerL(CParameterSetContainer *, CParameterSetContainer *)

IMPORT_C voidReplaceParamSetContainerL(CParameterSetContainer *aOld,
CParameterSetContainer *aNew
)
Replaces a given parameter set container with another. The old parameter set container is deleted, and the parameter bundle takes ownership of the new one
Exceptions
Leaves

with KErrNotFound if the parameter set container was not found in the bundle

Parameters

CParameterSetContainer * aOldA parameter set container that exists in the parameter bundle
CParameterSetContainer * aNewThe parameter set container that will take the place of the old one

Store(TDes8 &)

IMPORT_C TIntStore(TDes8 &aDes)const

Instructs this sub-connection parameter bundle to create a serilised version of itself and append it to the buffer that has been passed.

Parameters

TDes8 & aDesBuffer to append the serialised object to

operator=(const CParameterBundleBase &)

CParameterBundleBase &operator=(const CParameterBundleBase &aBundle)[private]

Parameters

const CParameterBundleBase & aBundle

Member Data Documentation

RPointerArray< CParameterSetContainer > iSetContainers

RPointerArray< CParameterSetContainer >iSetContainers[protected]