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

Constructor & Destructor Documentation

CSIPProfileParameter()

CSIPProfileParameter ( ) [private]

Default constructor.

~CSIPProfileParameter()

~CSIPProfileParameter ( )

Destructor

Member Functions Documentation

ConstructL(const TDesC8 &, const TDesC8 &)

void ConstructL ( const TDesC8 & aKey,
const TDesC8 & aValue
) [private]

Symbian 2nd phase constructor.

Parameters

const TDesC8 & aKey parameter key
const TDesC8 & aValue parameter value

ConstructL(const TDesC8 &)

void ConstructL ( const TDesC8 & aKey ) [private]

Symbian 2nd phase constructor.

Parameters

const TDesC8 & aKey parameter key

DoInternalizeL(RReadStream &)

void DoInternalizeL ( RReadStream & aReadStream ) [private]

Deserialize profile parameter from stream

Parameters

RReadStream & aReadStream stream holding serialized profile parameter

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aWriteStream ) const

Serialize profile parameter to stream

Parameters

RWriteStream & aWriteStream stream 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 & aReadStream stream 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 & aKey parameter key
const TDesC8 & aValue parameter value

NewL(const TDesC8 &)

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

Constructs an object

Parameters

const TDesC8 & aKey parameter key

NewLC(const TDesC8 &, const TDesC8 &)

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

Constructs an object

Parameters

const TDesC8 & aKey parameter key
const TDesC8 & aValue parameter value

NewLC(const TDesC8 &)

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

Constructs an object

Parameters

const TDesC8 & aKey parameter 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 & aParameter profile parameter to compare to

Member Data Documentation

HBufC8 * iEmpty

HBufC8 * iEmpty [private]

HBufC8 * iParameterKey

HBufC8 * iParameterKey [private]

HBufC8 * iParameterValue

HBufC8 * iParameterValue [private]