#include <comms-infras/es_parameterbundle.h>
class CParameterBundleBase : public CBase |
Protected Attributes | |
---|---|
RPointerArray< CParameterSetContainer > | iSetContainers |
Public Member Functions | |
---|---|
virtual | ~CParameterBundleBase() |
IMPORT_C TInt | AddParamSetContainer(CParameterSetContainer &) |
IMPORT_C void | AddParamSetContainerL(CParameterSetContainer &) |
TInt | CountParamSetContainers() |
IMPORT_C CParameterSetContainer * | FindParamSetContainer(TUint32) |
const CParameterSetContainer * | FindParamSetContainer(TUint32) |
IMPORT_C XParameterSetBase * | FindParameterSet(const Meta::STypeId &) |
const XParameterSetBase * | FindParameterSet(const Meta::STypeId &) |
IMPORT_C CParameterSetContainer * | GetParamSetContainer(TInt) |
const CParameterSetContainer * | GetParamSetContainer(TInt) |
IMPORT_C TUint | Length() |
CParameterBundleBase * | NewL() |
IMPORT_C CParameterSetContainer * | RemoveParamSetContainer(TInt) |
IMPORT_C TInt | ReplaceParamSetContainer(CParameterSetContainer *, CParameterSetContainer *) |
IMPORT_C void | ReplaceParamSetContainerL(CParameterSetContainer *, CParameterSetContainer *) |
IMPORT_C TInt | Store(TDes8 &) |
Protected Member Functions | |
---|---|
CParameterBundleBase() |
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.
RPointerArray< CParameterSetContainer > | iSetContainers | [protected] |
CParameterBundleBase | ( | ) | [protected, inline] |
IMPORT_C | ~CParameterBundleBase | ( | ) | [virtual] |
IMPORT_C TInt | AddParamSetContainer | ( | CParameterSetContainer & | aContainer | ) |
Add a parameter set container to the bundle.
Parameters | |
---|---|
aContainer | Container to be added (bundle takes ownership) |
IMPORT_C void | AddParamSetContainerL | ( | CParameterSetContainer & | aContainer | ) |
Leaves | with KErrNoMemory in out of memory conditions |
Parameters | |
---|---|
aContainer | Container to be added (bundle takes ownership) |
TInt | CountParamSetContainers | ( | ) | const [inline] |
IMPORT_C CParameterSetContainer * | FindParamSetContainer | ( | TUint32 | aContainerId | ) |
Search the parameter bundle for a parameter set container
Parameters | |
---|---|
aContainerId | Id of the container to match against |
const CParameterSetContainer * | FindParamSetContainer | ( | TUint32 | aContainerId | ) | const [inline] |
IMPORT_C XParameterSetBase * | FindParameterSet | ( | const Meta::STypeId & | aTypeId | ) |
Deep search the parameter bundle for a parameter set of given type
Parameters | |
---|---|
aTypeId | Id of the set type to match against |
const XParameterSetBase * | FindParameterSet | ( | const Meta::STypeId & | aTypeId | ) | const [inline] |
IMPORT_C CParameterSetContainer * | GetParamSetContainer | ( | TInt | aIndex | ) |
Pick out the parameter set container at the given index in the bundle.
Parameters | |
---|---|
aIndex | index of the container to get |
const CParameterSetContainer * | GetParamSetContainer | ( | TInt | aIndex | ) | const [inline] |
IMPORT_C TUint | Length | ( | ) | const |
Calculates the length of buffer required to serialise this parameter set bundle.
CParameterBundleBase * | NewL | ( | ) | [static, inline] |
IMPORT_C CParameterSetContainer * | RemoveParamSetContainer | ( | TInt | aIndex | ) |
Remove a parameter set container from the bundle, returning ownership to the calling method
Parameters | |
---|---|
aIndex | index of the container to remove |
IMPORT_C TInt | ReplaceParamSetContainer | ( | 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 | |
---|---|
aOld | A parameter set container that exists in the parameter bundle |
aNew | The parameter set container that will take the place of the old one |
IMPORT_C void | ReplaceParamSetContainerL | ( | CParameterSetContainer * | aOld, |
CParameterSetContainer * | aNew | |||
) |
Leaves | with KErrNotFound if the parameter set container was not found in the bundle |
Parameters | |
---|---|
aOld | A parameter set container that exists in the parameter bundle |
aNew | The parameter set container that will take the place of the old one |
Instructs this sub-connection parameter bundle to create a serilised version of itself and append it to the buffer that has been passed.
Parameters | |
---|---|
aDes | Buffer to append the serialised object to |