RSubConParameterBundle Class Reference

class RSubConParameterBundle

Container for (bundle of) SubConnection parameter families.

May contain and 0..N SubConnection parameter families.

Note: If the RSubConParameterBundle object takes ownership of any CSubConParameterFamily object, then when the bundle object is destroyed, any family owned by this object will also be destroyed.

THIS API IS DEPRECATED IN FAVOUR OF RParameterFamilyBundle

since v9.6

Constructor & Destructor Documentation

RSubConParameterBundle()

IMPORT_CRSubConParameterBundle()

Empty sub-connection parameter bundle constructor

RSubConParameterBundle(const RSubConParameterBundle &)

RSubConParameterBundle(const RSubConParameterBundle &aBundle)[private]

Copy Constructor

Parameters

const RSubConParameterBundle & aBundle

Member Functions Documentation

AddFamilyL(CSubConParameterFamily *)

IMPORT_C voidAddFamilyL(CSubConParameterFamily *aFamily)

Add a sub-connection parameter family to the bundle.

Note: The RSubConParameterBundle object takes ownership of the parameter family that is passed into this method. When the bundle object is destroyed, any family owned by this object will also be destroyed.

Exceptions
leaves

with KErrNoMemory in out of memory conditions

Parameters

CSubConParameterFamily * aFamilyFamily to be added (bundle takes ownership)

CheckBundle()

TInt CheckBundle()const [protected]

Check to see if the handle has a heap object. If it hasn't, it creates one

ClearAllParameters(CSubConParameterFamily::TParameterSetType)

IMPORT_C voidClearAllParameters(CSubConParameterFamily::TParameterSetTypeaType)

Clears (removes and deletes) all parameter sets with the type specified (delegated to the families)

Parameters

CSubConParameterFamily::TParameterSetType aTypeThe type of the set to be deleted(requested, acceptable or granted)

Close()

IMPORT_C voidClose()

Close the parameter bundle handle

CopyFromFamilyBundleL(RParameterFamilyBundle &)

voidCopyFromFamilyBundleL(RParameterFamilyBundle &aSrc)

Copy the contents of an RParameterFamilyBundle to this RSubConParameterBundle

Parameters

RParameterFamilyBundle & aSrcRParameterFamilyBundle to copy contents from

CopyToFamilyBundleL(RParameterFamilyBundle &)

voidCopyToFamilyBundleL(RParameterFamilyBundle &aDest)const

Copy the contents of this parameter bundle to a RParameterFamilyBundle.

Parameters

RParameterFamilyBundle & aDestRParameterFamilyBundle to copy parameters to

FindFamily(TUint32)

IMPORT_C CSubConParameterFamily *FindFamily(TUint32aFamilyId)

Search the sub-connection parameter bundle for a parameter family

Parameters

TUint32 aFamilyIdId of the family to match against. It is an identifier for the specific family type, currently only 4, QoS (KSubConQoSFamily),Authorisation (KSubConAuthorisationFamily), CallDescrParams (KSubConnCallDescrParamsFamily) and ContextDescrParams (KSubConnContextDescrParamsFamily), are defined.

Length()

IMPORT_C TUintLength()const

Calculates the length of buffer required to serialise this parameter set bundle.

Load(const TDesC8 &)

IMPORT_C TIntLoad(const TDesC8 &aDes)

Instructs this sub-connection bundle to set its members based on the serialiesd data in the buffer passed.

Parameters

const TDesC8 & aDesBuffer containing the serialised bundle object

Store(TDes8 &)

IMPORT_C TIntStore(TDes8 &aDes)const

Instructs this sub-connection parameter bundle to create a serilised version of itself and append it to the buffer that has been passed.

Parameters

TDes8 & aDesBuffer to append the serialised object to

operator=(const RSubConParameterBundle &)

RSubConParameterBundle &operator=(const RSubConParameterBundle &aBundle)[private]

Assignment operator

Parameters

const RSubConParameterBundle & aBundle

Member Data Documentation

CSubConParameterBundle * iBundle

CSubConParameterBundle *iBundle[private]