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 &)

void DefineOptionsL ( CPhoneGsmOptionContainerBase & aOptions ) [private, static]

Define all options.

Parameters

CPhoneGsmOptionContainerBase & aOptions It is the option container.

DetermineContentType(const CPhoneGsmParserResult &)

IMPORT_C TContentType DetermineContentType ( const CPhoneGsmParserResult & aResult ) [static]

Determines the type of content.

Parameters

const CPhoneGsmParserResult & aResult

InitialiseOptionsToDefaultValues(CPhoneGsmOptionContainerBase &)

void InitialiseOptionsToDefaultValues ( CPhoneGsmOptionContainerBase & aOptions ) [private, static]

Initialise options to default values.

Parameters

CPhoneGsmOptionContainerBase & aOptions

IsAllowedForArriving(const CPhoneGsmParserResult &)

IMPORT_C TBool IsAllowedForArriving ( 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 TBool IsAllowedForBadSim ( 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)

void Panic ( TPanicReason aReason ) [static]

Panic!

Parameters

TPanicReason aReason It 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