Link against: servicehandler.lib
None
#include <AiwGenericParam.h>
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.
Public Member Functions | |
TAiwGenericParam () | |
Constructs a generic parameter. | |
TAiwGenericParam (TGenericParamId aSemanticId) | |
Constructs a generic parameter. | |
TAiwGenericParam (TGenericParamId aSemanticId, const TAiwVariant &aValue) | |
Constructs a generic parameter. | |
void | SetSemanticId (TGenericParamId aSemanticId) |
Sets the semantic ID. | |
TGenericParamId | SemanticId () const |
Returns the semantic ID of this parameter. | |
TAiwVariant & | Value () |
Returns the value of this parameter. | |
const TAiwVariant & | Value () const |
Returns the const value of this parameter. | |
void | Reset () |
Resets the semantic ID and the value of this parameter. | |
Friends | |
class | CAiwGenericParamList |
|
Constructs a generic parameter. |
|
Constructs a generic parameter.
|
|
Constructs a generic parameter.
|
|
Resets the semantic ID and the value of this parameter. |
|
Returns the semantic ID of this parameter.
|
|
Sets the semantic ID. Possibly set previous ID is overwritten.
|
|
Returns the const value of this parameter.
|
|
Returns the value of this parameter.
|
|