CParameterBundleBase Class Reference
#include
<comms-infras/es_parameterbundle.h>
class CParameterBundleBase : public CBase |
Detailed Description
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.
Member Attribute Documentation
Constructor & Destructor Documentation
CParameterBundleBase ( )
CParameterBundleBase | ( | ) | [protected, inline] |
~CParameterBundleBase ( )
IMPORT_C | ~CParameterBundleBase | ( | ) | [virtual] |
Member Function Documentation
AddParamSetContainer ( CParameterSetContainer & )
Add a parameter set container to the bundle.
Parameter | Description | aContainer | Container to be added (bundle takes ownership) |
Returns: Returns with KErrNoMemory in out of memory conditions
AddParamSetContainerL ( CParameterSetContainer & )
Add a parameter set container to the bundle.
- Exceptions
Leaves |
with KErrNoMemory in out of memory conditions
|
Parameter | Description | aContainer | Container to be added (bundle takes ownership) |
CountParamSetContainers ( )
TInt
| CountParamSetContainers | ( | ) | const [inline] |
FindParamSetContainer ( TUint32 )
Search the parameter bundle for a parameter set container
Parameter | Description | aContainerId | Id of the container to match against |
Returns: Matching container or NULL pointer if not found
FindParamSetContainer ( TUint32 )
FindParameterSet ( const Meta::STypeId & )
Deep search the parameter bundle for a parameter set of given type
Parameter | Description | aTypeId | Id of the set type to match against |
Returns: Matching set or NULL pointer if not found
FindParameterSet ( const Meta::STypeId & )
GetParamSetContainer ( TInt )
Pick out the parameter set container at the given index in the bundle.
Parameter | Description | aIndex | index of the container to get |
Returns: Matching container or NULL pointer if index out of range
GetParamSetContainer ( TInt )
Length ( )
IMPORT_C TUint | Length | ( | ) | const |
Calculates the length of buffer required to serialise this parameter set bundle.
Returns: Length of buffer required.
RemoveParamSetContainer ( TInt )
Remove a parameter set container from the bundle, returning ownership to the calling method
Parameter | Description | aIndex | index of the container to remove |
Returns: The removed parameter set container
ReplaceParamSetContainer ( CParameterSetContainer *, CParameterSetContainer * )
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
Parameter | Description | 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 |
Returns: KErrNotFound if the parameter set container was not found in the bundle, otherwise KErrNone.
ReplaceParamSetContainerL ( CParameterSetContainer *, CParameterSetContainer * )
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
|
Parameter | Description | 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 |
Store ( TDes8 & )
Instructs this sub-connection parameter bundle to create a serilised version of itself and append it to the buffer that has been passed.
Parameter | Description | aDes | Buffer to append the serialised object to |
Returns: KErrNone if successful, otherwise system wide error (e.g. EKrrOverflow if the descriptor is too small) If unsuccessful, there is no guarantee as to the buffer or data stored in it.