CIMPSSAPKeyValuePairs Class Reference

class CIMPSSAPKeyValuePairs : public CBase

Container for individual key-value pairs.

Since
3.0

Inherits from

  • CIMPSSAPKeyValuePairs

Constructor & Destructor Documentation

CIMPSSAPKeyValuePairs()

CIMPSSAPKeyValuePairs()[private]

C++ default constructor.

~CIMPSSAPKeyValuePairs()

~CIMPSSAPKeyValuePairs()[virtual]

Destructor.

Member Functions Documentation

ConstructL()

voidConstructL()[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 & aKeyThe key to remove.

ExternalizeVersionDataL(TInt, RWriteStream &)

voidExternalizeVersionDataL(TIntaVersion,
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 & aKeyThe key to use identify the value.
TInt & aValueThe value to get. Given aValue isn't changed if reading fails,

InternalizeVersionDataL(TInt, RReadStream &)

voidInternalizeVersionDataL(TIntaVersion,
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

Pairs()

RPointerArray< CIMPSSAPKeyValuePair > &Pairs()

Reset()

voidReset()

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,
TIntaValue
)

Key-value setters.

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

Since
3.0

Parameters

const TDesC & aKeyThe key to use identify the value.
TInt aValueThe value to assign for keyword.

Member Data Documentation

CIMPSSAPLookupKeyValuePair * iLookupKey

CIMPSSAPLookupKeyValuePair *iLookupKey[private]

RPointerArray< CIMPSSAPKeyValuePair > iPairs

RPointerArray< CIMPSSAPKeyValuePair >iPairs[private]