CSIPProfileParameter Class Reference

class CSIPProfileParameter : public CBase

Class stores parameter key and value pair used by CSIPConcreteProfile It provides serialization and deserialization functions

Inherits from

  • CSIPProfileParameter

Constructor & Destructor Documentation

CSIPProfileParameter()

CSIPProfileParameter()[private]

Default constructor.

~CSIPProfileParameter()

~CSIPProfileParameter()

Destructor

Member Functions Documentation

ConstructL(const TDesC8 &, const TDesC8 &)

voidConstructL(const TDesC8 &aKey,
const TDesC8 &aValue
)[private]

Symbian 2nd phase constructor.

Parameters

const TDesC8 & aKeyparameter key
const TDesC8 & aValueparameter value

ConstructL(const TDesC8 &)

voidConstructL(const TDesC8 &aKey)[private]

Symbian 2nd phase constructor.

Parameters

const TDesC8 & aKeyparameter key

DoInternalizeL(RReadStream &)

voidDoInternalizeL(RReadStream &aReadStream)[private]

Deserialize profile parameter from stream

Parameters

RReadStream & aReadStreamstream holding serialized profile parameter

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aWriteStream)const

Serialize profile parameter to stream

Parameters

RWriteStream & aWriteStreamstream where the parameter is to be serialized

ExternalizedSizeL()

TUint ExternalizedSizeL()const

Get serialized profile parameter size

InternalizeL(RReadStream &)

CSIPProfileParameter *InternalizeL(RReadStream &aReadStream)[static]

Deserialize profile parameter from stream, ownership is transferred

Parameters

RReadStream & aReadStreamstream holding serialized profile parameter

Key()

const TDesC8 &Key()const

Get parameter key

NewL(const TDesC8 &, const TDesC8 &)

CSIPProfileParameter *NewL(const TDesC8 &aKey,
const TDesC8 &aValue
)[static]

Constructs an object

Parameters

const TDesC8 & aKeyparameter key
const TDesC8 & aValueparameter value

NewL(const TDesC8 &)

CSIPProfileParameter *NewL(const TDesC8 &aKey)[static]

Constructs an object

Parameters

const TDesC8 & aKeyparameter key

NewLC(const TDesC8 &, const TDesC8 &)

CSIPProfileParameter *NewLC(const TDesC8 &aKey,
const TDesC8 &aValue
)[static]

Constructs an object

Parameters

const TDesC8 & aKeyparameter key
const TDesC8 & aValueparameter value

NewLC(const TDesC8 &)

CSIPProfileParameter *NewLC(const TDesC8 &aKey)[static]

Constructs an object

Parameters

const TDesC8 & aKeyparameter key

Value()

const TDesC8 &Value()const

Get parameter value, return 0 length descriptor is not found

ValueL()

const TDesC8 &ValueL()const

Get parameter value, Leave if not found

operator==(const CSIPProfileParameter &)

TBool operator==(const CSIPProfileParameter &aParameter)const

Compare two profile parameters

Parameters

const CSIPProfileParameter & aParameterprofile parameter to compare to

Member Data Documentation

HBufC8 * iEmpty

HBufC8 *iEmpty[private]

HBufC8 * iParameterKey

HBufC8 *iParameterKey[private]

HBufC8 * iParameterValue

HBufC8 *iParameterValue[private]