PhoneGsmParser Class Reference

class PhoneGsmParser

It is class containing static methods to create instances of parser and parser results.

Since
1.0 phoneparser.lib

Member Functions Documentation

CreateManufacturerProcedureParserLC()

CPhoneGsmParserBase *CreateManufacturerProcedureParserLC()[private, static]

Creates parser for manufacturer specific procedures.

CreateOptionContainerL()

IMPORT_C CPhoneGsmOptionContainerBase *CreateOptionContainerL()[static]

Creates option container.

Note that options are defined and set to initial status.

CreateParserL()

IMPORT_C CPhoneGsmParserBase *CreateParserL()[static]

Creates an instance of CPhoneGsmParser, GSM specific parser.

CreateResultL()

IMPORT_C CPhoneGsmParserResult *CreateResultL()[static]

Creates an instance of CPhoneGsmParserResult.

DefineOptionsL(CPhoneGsmOptionContainerBase &)

voidDefineOptionsL(CPhoneGsmOptionContainerBase &aOptions)[private, static]

Define all options.

Parameters

CPhoneGsmOptionContainerBase & aOptionsIt is the option container.

DetermineContentType(const CPhoneGsmParserResult &)

IMPORT_C TContentTypeDetermineContentType(const CPhoneGsmParserResult &aResult)[static]

Determines the type of content.

Parameters

const CPhoneGsmParserResult & aResult

InitialiseOptionsToDefaultValues(CPhoneGsmOptionContainerBase &)

voidInitialiseOptionsToDefaultValues(CPhoneGsmOptionContainerBase &aOptions)[private, static]

Initialise options to default values.

Parameters

CPhoneGsmOptionContainerBase & aOptions

IsAllowedForArriving(const CPhoneGsmParserResult &)

IMPORT_C TBoolIsAllowedForArriving(const CPhoneGsmParserResult &aResult)[static]

Checks if it is allowed for arriving call.

Note that this is ui issue. This could be done otherwise, but this is clearly the simplest option.

Parameters

const CPhoneGsmParserResult & aResult

IsAllowedForBadSim(const CPhoneGsmParserResult &)

IMPORT_C TBoolIsAllowedForBadSim(const CPhoneGsmParserResult &aResult)[static]

Checks if it is allowed for bad sim state.

Note that this is ui issue. This could be done otherwise, but this is clearly the simplest option.

Parameters

const CPhoneGsmParserResult & aResult

Panic(TPanicReason)

voidPanic(TPanicReasonaReason)[static]

Panic!

Parameters

TPanicReason aReasonIt is the reason for panic.

Member Enumerations Documentation

Enum TContentType

Enumerates all common types.

Enumerators

EContentInvalid
EContentUnknown
EContentPhoneNumber
EContentSupplementaryService
EContentUnstructuredService

Enum TPanicReason

It enumerates the reasons for panics in parser.

Enumerators

EIncorrectServiceDescription
EIncorrectUse
EOptionNotDefined
EOptionAlreadyDefined
EShouldNeverHappen