TAiwGenericParam Class Reference
Generic parameter class for passing data between applications. A generic parameter is a pair of semantic ID and variant value. The semantic ID tells the purpose of the parameter, for example a file name, URL or phone number. The variant value contains the data format and actual value. This class does not implement any consistency checks between the semantic ID and value's data format. So one semantic ID can be expressed as alternative data formats.
Constructor & Destructor Documentation
TAiwGenericParam()
TAiwGenericParam | ( | ) | [inline] |
Constructs a generic parameter.
TAiwGenericParam(TGenericParamId)
Constructs a generic parameter.
Parameters
TGenericParamId aSemanticId | The semantic ID of the parameter, one of TGenericParamId values. |
TAiwGenericParam(TGenericParamId, const TAiwVariant &)
Constructs a generic parameter.
Parameters
TGenericParamId aSemanticId | The semantic ID of the parameter, one of TGenericParamId values. |
const TAiwVariant & aValue | The parameter value. |
Member Functions Documentation
CleanupDestroy(TAny *)
void | CleanupDestroy | ( | TAny * | aObj | ) | [private, static] |
Callback for operator TCleanupItem().
CopyLC(const TAiwGenericParam &)
Copies aParam to this parameter. Takes an own copy of the value held in aParam.
Destroy()
void | Destroy | ( | ) | [private, inline] |
Releases any dynamic data owned by this parameter.
ExternalizeL(RWriteStream &)
Externalizes this parameter to aStream.
InternalizeL(RReadStream &)
Internalizes this parameter from aStream.
Reset()
Resets the semantic ID and the value of this parameter.
SemanticId()
Returns the semantic ID of this parameter.
SetSemanticId(TGenericParamId)
Sets the semantic ID. Possibly set previous ID is overwritten.
Size()
TInt
| Size | ( | ) | const [private] |
Returns the maximum externalized size of this parameter.
Value()
Returns the value of this parameter.
Value()
Returns the const value of this parameter.
operator TCleanupItem()
operator TCleanupItem | ( | ) | [private] |
Returns a cleanup item that will call Destroy to this object when PopAndDestroy'ed.
Member Data Documentation
TGenericParamId
iSemanticId
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.