CPhoneGsmOptionContainer Class Reference

class CPhoneGsmOptionContainer : public CPhoneGsmOptionContainerBase

It is container for options. Each option is identified by a single uid and each option has a boolean status.

Since
1.0 phoneparser.lib

Inherits from

Nested Classes and Structures

Constructor & Destructor Documentation

CPhoneGsmOptionContainer()

CPhoneGsmOptionContainer ( ) [private]

C++ default constructor.

CPhoneGsmOptionContainer(const CPhoneGsmOptionContainer &)

CPhoneGsmOptionContainer ( const CPhoneGsmOptionContainer & ) [private]

Parameters

const CPhoneGsmOptionContainer &

~CPhoneGsmOptionContainer()

~CPhoneGsmOptionContainer ( )

Destructor.

Member Functions Documentation

ConstructL()

void ConstructL ( ) [private]

Symbian OS constructor.

DefineOptionL(TInt, TBool)

void DefineOptionL ( TInt aOptionUid,
TBool aStatus
)

Defines an option.

Method panics if option is already defined. Note that the method might leave.

Parameters

TInt aOptionUid It is the uid of the new option.
TBool aStatus It is the initial status for the option.

FindOptionStatus(TInt)

TBool FindOptionStatus ( TInt aOptionUid ) const [virtual]

From CPhoneGsmOptionContainerBase . Finds status of option.

Method panics if option is not defined.

Parameters

TInt aOptionUid It is the uid of the option.

IsEmergencyNumber(const TDesC &, TDes &)

TBool IsEmergencyNumber ( const TDesC & aNumber,
TDes & aEmergencyNumber
)

This method can be used to make overrides to definition of phone numbers.

For example, there can be two digit emergency numbers which are normally considered as ussd requests.

Note: this can return directly EFalse in which case standard GSM practices are applied.

Parameters

const TDesC & aNumber string to be checked.
TDes & aEmergencyNumber

IsOptionDefined(TInt)

TBool IsOptionDefined ( TInt aOptionUid ) const

Checks if option is defined.

Parameters

TInt aOptionUid It is the uid of the option.

MakeKey()

TKeyArrayFix MakeKey ( ) [private, static]

Creates key.

NewL()

CPhoneGsmOptionContainer * NewL ( ) [static]

Two-phased constructor.

SetOptionStatus(TInt, TBool)

void SetOptionStatus ( TInt aOptionUid,
TBool aStatus
) [virtual]

From CPhoneGsmOptionContainerBase . Sets status of option.

Method panics if option is not defined.

Parameters

TInt aOptionUid It is the uid of the option.
TBool aStatus It is the new status for the option.

operator=(const CPhoneGsmOptionContainer &)

CPhoneGsmOptionContainer & operator= ( const CPhoneGsmOptionContainer & ) [private]

Parameters

const CPhoneGsmOptionContainer &

Member Type Definitions Documentation

Typedef COptionArray

typedef CArrayFixFlat < TOptionItem > COptionArray [private]

It is the type for array of options.

Member Data Documentation

CPhoneGsmOptionContainerExt * iExtension

CPhoneGsmOptionContainerExt * iExtension [private]

COptionArray * iOptions

COptionArray * iOptions [private]