CIMPSSAPKeyValuePair Class Reference
class CIMPSSAPKeyValuePair : public CBase |
Key - value container. Can be derived to expand services.
Constructor & Destructor Documentation
CIMPSSAPKeyValuePair()
CIMPSSAPKeyValuePair | ( | ) | [protected] |
~CIMPSSAPKeyValuePair()
~CIMPSSAPKeyValuePair | ( | ) | [virtual] |
Member Functions Documentation
ConstructL(RReadStream &)
Symbian OS constructor. Initializes object state from given stream.
DataSize()
Approximates the value pair data size.
DataSizeDec()
Approximates the value pair data size in decimal textual representation
ExternalizeL(RWriteStream &)
Externalises the value pair to given stream.
GetValue(TInt &)
Data getters.
Overloaded to support integer type and narrow and wide descriptors.
Parameters
TInt & aValue | The value to get. |
IsDataTooBig()
TBool
| IsDataTooBig | ( | ) | const |
Checks if the data fits in the flat descriptor
Key()
const TDesC & | Key | ( | ) | const [virtual] |
Key accessor.
Gets the key associated with key-value object. Virtual to allow derived classes to expand behaviour.
KeyValuePairFlatLC()
HBufC * | KeyValuePairFlatLC | ( | ) | |
Key-Value pair flat representation
Creates flat representation of the key-value pair and pushes it in cleanup stack. Ownership is transferred to calling method.
New(const TDesC &)
Non leaving two phased constructor.
If object allocation fails, returns NULL.
Parameters
const TDesC & aKey | The key. |
NewLC(RReadStream &)
Two phased constructor initializing object state from the stream.
NewLC(const TDesC &)
Two phased constructor initializing object state from given flat descriptor.
Parameters
const TDesC & aKeyValuePairFlat | The flat representation of key-value pair |
ParseFlatKeyValuePairL(const TDesC &)
void | ParseFlatKeyValuePairL | ( | const TDesC & | aKeyValuePairFlat | ) | [private] |
Parses value pair data from flat descriptor.
- Since
- 3.0
Parameters
const TDesC & aKeyValuePairFlat | flat descriptor to parse |
Reset()
Resets the value pair data.
- Since
- 3.0
SetValue(TInt)
Data setters.
Overloaded to support integer type and narrow and wide descriptors.
Parameters
TInt aValue | The value to assign for key-value object. |
SetValue(const TDesC16 &)
Member Enumerations Documentation
Enum TValueType
Data type enumeration. List supported value data types.
- Since
- 3.0
Enumerators
EValueTypeNone = 0 | |
EValueTypeInt | |
EValueTypeDesC8 | |
EValueTypeDesC16 | |
Member Data Documentation
union CIMPSSAPKeyValuePair::@29 @30
union CIMPSSAPKeyValuePair::@29 | @30 | [private] |
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.