CIMPSSAPKeyValuePairs Class Reference

class CIMPSSAPKeyValuePairs : public CBase

Container for individual key-value pairs.

Since
3.0

Inherits from

Constructor & Destructor Documentation

CIMPSSAPKeyValuePairs()

CIMPSSAPKeyValuePairs ( ) [private]

C++ default constructor.

~CIMPSSAPKeyValuePairs()

~CIMPSSAPKeyValuePairs ( ) [virtual]

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Symbian OS constructor.

DataSize()

TInt DataSize ( ) const

DeletePair(const TDesC &)

TInt DeletePair ( const TDesC & aKey )

Key value remove.

Since
3.0

Parameters

const TDesC & aKey The key to remove.

ExternalizeVersionDataL(TInt, RWriteStream &)

void ExternalizeVersionDataL ( TInt aVersion,
RWriteStream & aStream
) const

Parameters

TInt aVersion
RWriteStream & aStream

GetValueDesC16(const TDesC &, TPtrC16 &)

TInt GetValueDesC16 ( const TDesC & aKey,
TPtrC16 & aValue
)

Parameters

const TDesC & aKey
TPtrC16 & aValue

GetValueDesC8(const TDesC &, TPtrC8 &)

TInt GetValueDesC8 ( const TDesC & aKey,
TPtrC8 & aValue
)

Parameters

const TDesC & aKey
TPtrC8 & aValue

GetValueInt(const TDesC &, TInt &)

TInt GetValueInt ( const TDesC & aKey,
TInt & aValue
)

Key-value getters.

Different methods to support integer type and narrow and wide descriptors.

Since
3.0

Parameters

const TDesC & aKey The key to use identify the value.
TInt & aValue The value to get. Given aValue isn't changed if reading fails,

InternalizeVersionDataL(TInt, RReadStream &)

void InternalizeVersionDataL ( TInt aVersion,
RReadStream & aStream
)

Parameters

TInt aVersion
RReadStream & aStream

NewL()

CIMPSSAPKeyValuePairs * NewL ( ) [static]

Two-phased constructor.

Since
3.0

ObjectID()

TIMPSSapObjectID ObjectID ( ) const

ObjectVersion()

TInt ObjectVersion ( ) const

Pairs()

const RPointerArray < CIMPSSAPKeyValuePair > & Pairs ( ) const

Return Value-pair array.

Since
3.0

Reset()

void Reset ( )

SetValueDesC16(const TDesC &, const TDesC16 &)

TInt SetValueDesC16 ( const TDesC & aKey,
const TDesC16 & aValue
)

Parameters

const TDesC & aKey
const TDesC16 & aValue

SetValueDesC8(const TDesC &, const TDesC8 &)

TInt SetValueDesC8 ( const TDesC & aKey,
const TDesC8 & aValue
)

Parameters

const TDesC & aKey
const TDesC8 & aValue

SetValueInt(const TDesC &, TInt)

TInt SetValueInt ( const TDesC & aKey,
TInt aValue
)

Key-value setters.

Different methods to support integer type and narrow and wide descriptors.

Since
3.0

Parameters

const TDesC & aKey The key to use identify the value.
TInt aValue The value to assign for keyword.

Member Data Documentation

CIMPSSAPLookupKeyValuePair * iLookupKey

CIMPSSAPLookupKeyValuePair * iLookupKey [private]

RPointerArray< CIMPSSAPKeyValuePair > iPairs

RPointerArray < CIMPSSAPKeyValuePair > iPairs [private]