API published in: S60 3rd Ed FP 2
Link against: servicehandler.lib
#include <aiwgenericparam.h>
A list containing TAiwGenericParam objects. Used for passing parameters between consumers and providers.
Public Member Functions |
|
virtual | ~CAiwGenericParamList () |
Destructor. |
|
IMPORT_C TInt | Count () const |
Returns the number of parameters in the list. |
|
IMPORT_C TInt | Count (TGenericParamId aSemanticId, TVariantTypeId aDataType=EVariantTypeAny) const |
Returns the number of the parameters in the list by semantic id and datatype. |
|
IMPORT_C const TAiwGenericParam & | operator[] (TInt aIndex) const |
Returns a parameter from this list. |
|
IMPORT_C void | AppendL (const TAiwGenericParam &aParam) |
Appends a parameter to this list. |
|
IMPORT_C void | AppendL (const CAiwGenericParamList &aList) |
Copies the given list and appends it to end of this list. |
|
IMPORT_C TBool | Remove (TInt aSemanticId) |
Removes the first found item with given semantic id from the list. |
|
IMPORT_C void | Reset () |
Deletes all parameters in the list and resets the list. |
|
IMPORT_C const TAiwGenericParam * | FindFirst (TInt &aIndex, TGenericParamId aSemanticId, TVariantTypeId aDataType=EVariantTypeAny) const |
Returns the first item matching the given semantic ID. |
|
IMPORT_C const TAiwGenericParam * | FindNext (TInt &aIndex, TGenericParamId aSemanticId, TVariantTypeId aDataType=EVariantTypeAny) const |
Returns the next item matching the given semantic ID. |
|
IMPORT_C void | ExternalizeL (RWriteStream &aStream) const |
Externalizes this parameter list to a stream. |
|
IMPORT_C TInt | Size () const |
Returns the externalized size of the parameter list in bytes. |
|
IMPORT_C void | InternalizeL (RReadStream &aStream) |
Internalizes the parameter list from a stream. |
|
IMPORT_C HBufC8 * | PackForServerL (TIpcArgs &aArgs) |
Packs the parameter list to TIpcArgs structure for passing the generic param list to server over process boundary. |
|
IMPORT_C void | UnpackFromClientL (const RMessage2 &aArgs) |
Unpacks the list from client message structure. |
|
Static Public Member Functions |
|
static IMPORT_C CAiwGenericParamList * | NewL () |
Creates an instance of this class. |
|
static IMPORT_C CAiwGenericParamList * | NewL (RReadStream &aReadStream) |
Creates an instance of this class. |
|
static IMPORT_C CAiwGenericParamList * | NewLC () |
Creates an instance of this class. |
|
static IMPORT_C CAiwGenericParamList * | NewLC (RReadStream &aReadStream) |
Creates an instance of this class. |
|
Destructor. |
|
Copies the given list and appends it to end of this list.
|
|
Appends a parameter to this list.
|
|
Returns the number of the parameters in the list by semantic id and datatype.
|
|
Returns the number of parameters in the list.
|
|
Externalizes this parameter list to a stream.
|
|
Returns the first item matching the given semantic ID.
|
|
Returns the next item matching the given semantic ID.
|
|
Internalizes the parameter list from a stream.
|
|
Creates an instance of this class.
|
|
Creates an instance of this class.
|
|
Creates an instance of this class. Leaves the created instance on the cleanup stack.
|
|
Creates an instance of this class. Leaves the created instance on the cleanup stack.
|
|
Returns a parameter from this list.
|
|
Packs the parameter list to TIpcArgs structure for passing the generic param list to server over process boundary. Only one RFile handle parameter can be passed over process boundary.
|
|
Removes the first found item with given semantic id from the list.
|
|
Deletes all parameters in the list and resets the list. |
|
Returns the externalized size of the parameter list in bytes.
|
|
Unpacks the list from client message structure.
|