CParameterSetContainer Class Reference
class CParameterSetContainer : public CBase |
A container for 0..n Parameter Sets. Can be seen as a "row" or "record" of information, with its own 32 bit Id to be used as a key to the set if required
Private Member Functions |
---|
void | Copy(const TAny *) |
Constructor & Destructor Documentation
CParameterSetContainer(TUint32)
CParameterSetContainer | ( | TUint32 | aContainerId | ) | [protected, inline] |
~CParameterSetContainer()
IMPORT_C | ~CParameterSetContainer | ( | ) | [virtual] |
Member Functions Documentation
AddParameterSet(XParameterSetBase *)
AddParameterSetL(XParameterSetBase *)
ClearParameterSetPointer(TInt)
void | ClearParameterSetPointer | ( | TInt | aIndex | ) | [inline] |
ConstructL(CParameterBundleBase &)
Set up the container with empty sets
- Exceptions
-
leaves |
with KErrNoMemory in out of memory conditions
|
Parameters
CParameterBundleBase & aBundle | Bundle (parent container) that this new parameter set container is to be added to |
Copy(const TAny *)
void | Copy | ( | const TAny * | | ) | [private, inline, virtual] |
CountParameterSets()
TInt
| CountParameterSets | ( | ) | const [inline] |
DeleteParameterSet(TInt)
IMPORT_C TInt | DeleteParameterSet | ( | TInt | aIndex | ) | |
DeleteParameterSetL(TInt)
IMPORT_C void | DeleteParameterSetL | ( | TInt | aIndex | ) | |
Deletes set at index, and reorganises the array so it's 1 smaller
Parameters
TInt aIndex | - index of container to delete and remove from array |
FindParameterSet(const Meta::STypeId &)
Searches a container for a parameter set of the given type. Searches a parameter set container for a parameter set.
FindParameterSet(const Meta::STypeId &)
FindParameterSet(const XParameterSetBase &)
Searches a container for a specific parameter set instance.
GetParameterSet(TInt)
Searches a parameter set container for a parameter set.
GrowToFitL(TInt)
IMPORT_C void | GrowToFitL | ( | TInt | aMinSize | ) | |
Makes room for a bulk setting operation
Length()
IMPORT_C TInt | Length | ( | ) | const [virtual] |
Calculates the length of buffer required to serialise this parameter set container.
Load(TPtrC8 &)
Instructs this container to set its members based on the serialised data in the buffer passed.
Parameters
TPtrC8 & aBuffer | Buffer containing the serialised container object |
LoadL(CParameterBundleBase &, TPtrC8 &)
Creates a new parameter set container from a buffer containing the serialised object.
Parameters
CParameterBundleBase & aBundle | Bundle that this container is to be added to |
TPtrC8 & aBuffer | Buffer containing the serialised object information |
LoadL(TPtrC8 &)
Creates a new parameter set container from a buffer containing the serialised object.
Parameters
TPtrC8 & aBuffer | Buffer containing the serialised object information |
NewL(CParameterBundleBase &, TUint32)
Creates a new parameter set container. This class is used as a container for a number of parameter sets (generic and extension) that are associated with each other. It is a specific instantiatable class and therefore creates an instance of CParameterSetContainer without using ECOM.
Parameters
CParameterBundleBase & aBundle | Bundle that this container is to be added to |
TUint32 aContainerId = 0 | identifier for the specific container instance |
NewL(TUint32)
Creates a new parameter set container. This class is used as a container for a number of parameter sets (generic and extension) that are associated with each other. It is a specific instantiatable class and therefore creates an instance of CParameterSetContainer without using ECOM.
Parameters
TUint32 aContainerId = 0 | identifier for the specific container instance |
RemoveParameterSet(TInt)
Removes the parameter set at the index. Ownership is transfered to the calling method
Parameters
TInt aIndex | - index of container to delete and remove from array |
ReplaceParameterSet(TInt, XParameterSetBase *)
ReplaceParameterSetL(TInt, XParameterSetBase *)
Deletes set at index aIndex and replaces it with aParameterSet. Ownership of set passes to this parameter set container.
Store(TDes8 &)
IMPORT_C TInt | Store | ( | TDes8 & | aBuffer | ) | const [virtual] |
Instructs this container to create a serialised version of itself and append it to the buffer that has been passed.
Member Data Documentation
Meta::RMetaDataEComContainer
iParameterSets
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.