CImsPolicy Class Reference

class CImsPolicy : public CExtensionBase

This is the IMS policy extension. The IMS policy can be extended by adding the CSubConIMSExtensionParamSet object at the client side

Inherits from

Constructor & Destructor Documentation

CImsPolicy()

CImsPolicy ( ) [protected]

~CImsPolicy()

IMPORT_C ~CImsPolicy ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [protected]

Copy(const CExtensionBase &)

IMPORT_C TInt Copy ( const CExtensionBase & aExtension ) [virtual]

Copies the parameters from aExtension object to this object. aExtension must be a CImsPolicy object. If some other extension is given as a parameter, KErrArgument is returned.

Parameters

const CExtensionBase & aExtension A CImsPolicy object that is copied into this object.

CreateL()

IMPORT_C CExtensionBase * CreateL ( ) [virtual]

Creates a CImsPolicy object. This is used by ipscpr.

Exceptions
Leaves

if no memory is available.

Data()

IMPORT_C TDesC8 & Data ( ) [virtual]

Returns IMS policy extension in a descriptor. This is used by ipscpr.

GetImsParameter(TImsParameter &)

IMPORT_C void GetImsParameter ( TImsParameter & aIms ) const

Gets the IMS QoS parameter set.

Parameters

TImsParameter & aIms IMS QoS parameter set will be copied to aIms.

NewL()

IMPORT_C CImsPolicy * NewL ( ) [static]

Two phase constructor. Creates a CImsPolicy object.

Exceptions
Leaves

if no memory is available.

ParseMessage(const TDesC8 &)

IMPORT_C TInt ParseMessage ( const TDesC8 & aData ) [virtual]

Parses a IMS policy extension given in a descriptor. This is used by ipscpr.

Parameters

const TDesC8 & aData

SetImsParameter(const TImsParameter &)

IMPORT_C void SetImsParameter ( const TImsParameter & aIms )

Sets the IMS QoS parameter set.

Parameters

const TImsParameter & aIms contains the Ims QoS parameter.

Member Data Documentation

TImsParameter iIms

TImsParameter iIms [private]