CWPCharacteristic Class Reference
class CWPCharacteristic : public CBase |
Constructor & Destructor Documentation
CWPCharacteristic(TInt)
CWPCharacteristic | ( | TInt | aType | ) | [private] |
Member Functions Documentation
AcceptL(MWPVisitor &)
Accepts a visitor for the parameters in characteristic.
Parameters
MWPVisitor & aVisitor | The visitor to be called for each element. |
CallVisitorL(MWPVisitor &)
ConstructL()
void | ConstructL | ( | ) | [private] |
By default Symbian 2nd phase constructor is private.
Data()
IMPORT_C const TDesC8 & | Data | ( | ) | const |
Returns adapter specific data.
Data(TInt)
Returns adapter specific data from the specific slot.
Parameters
TInt aIndex | index of the slot from where to get data. Return KNullDesC if the slot doesn't contain anything. |
DeleteAllData()
IMPORT_C void | DeleteAllData | ( | ) | |
Deletes all adapter specific data.
ExternalizeL(RWriteStream &)
InsertL(MWPElement *)
Inserts a parameter to the characteristic. Ownership is tranferred.
InsertLinkL(CWPCharacteristic &)
Inserts a link to a characteristic.
InternalizeL(RReadStream &)
Name()
IMPORT_C const TDesC & | Name | ( | ) | const |
Returns the characteristic's name.
ParameterL(TInt, CArrayFix< TPtrC > *)
Returns all parameters with a certain type inside this characteristic.
Parameters
TInt aID | The ID of the parameter to look for |
CArrayFix< TPtrC > * aParameters | Table to store all values for the parameter |
SetDataL(const TDesC8 &)
IMPORT_C void | SetDataL | ( | const TDesC8 & | aData | ) | |
Sets adapter specific data. Takes a copy.
Parameters
const TDesC8 & aData | Data to be copied. |
SetDataL(const TDesC8 &, TInt)
IMPORT_C void | SetDataL | ( | const TDesC8 & | aData, |
| TInt | aIndex |
| ) | |
Sets adapter specific data in specific slot. Takes a copy.
Parameters
const TDesC8 & aData | Data to be copied. |
TInt aIndex | index of slot where to store the data. |
SetNameL(const TDesC &)
IMPORT_C void | SetNameL | ( | const TDesC & | aValue | ) | |
Sets the characteristic's name.
Member Data Documentation
CArrayPtr< HBufC8 > * iData
RPointerArray< MWPElement > iElements
RPointerArray< CWPCharacteristic > iLinks
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.