| class PhoneGsmParser |
It is class containing static methods to create instances of parser and parser results.
| Public Member Functions | |
|---|---|
| IMPORT_C CPhoneGsmOptionContainerBase * | CreateOptionContainerL () |
| IMPORT_C CPhoneGsmParserBase * | CreateParserL () |
| IMPORT_C CPhoneGsmParserResult * | CreateResultL () |
| IMPORT_C TContentType | DetermineContentType (const CPhoneGsmParserResult &) |
| IMPORT_C TBool | IsAllowedForArriving (const CPhoneGsmParserResult &) |
| IMPORT_C TBool | IsAllowedForBadSim (const CPhoneGsmParserResult &) |
| void | Panic ( TPanicReason ) |
| Private Member Functions | |
|---|---|
| CPhoneGsmParserBase * | CreateManufacturerProcedureParserLC () |
| void | DefineOptionsL ( CPhoneGsmOptionContainerBase &) |
| void | InitialiseOptionsToDefaultValues ( CPhoneGsmOptionContainerBase &) |
| Public Member Enumerations | |
|---|---|
| enum | TContentType { EContentInvalid , EContentUnknown , EContentPhoneNumber , EContentSupplementaryService , EContentUnstructuredService } |
| enum | TPanicReason { EIncorrectServiceDescription , EIncorrectUse , EOptionNotDefined , EOptionAlreadyDefined , EShouldNeverHappen } |
| CPhoneGsmParserBase * | CreateManufacturerProcedureParserLC | ( | ) | [private, static] |
Creates parser for manufacturer specific procedures.
| IMPORT_C CPhoneGsmOptionContainerBase * | CreateOptionContainerL | ( | ) | [static] |
Creates option container.
Note that options are defined and set to initial status.
| IMPORT_C CPhoneGsmParserBase * | CreateParserL | ( | ) | [static] |
Creates an instance of CPhoneGsmParser , GSM specific parser.
| IMPORT_C CPhoneGsmParserResult * | CreateResultL | ( | ) | [static] |
Creates an instance of CPhoneGsmParserResult .
| void | DefineOptionsL | ( | CPhoneGsmOptionContainerBase & | aOptions | ) | [private, static] |
Define all options.
| CPhoneGsmOptionContainerBase & aOptions | It is the option container. |
| IMPORT_C TContentType | DetermineContentType | ( | const CPhoneGsmParserResult & | aResult | ) | [static] |
Determines the type of content.
| const CPhoneGsmParserResult & aResult |
| void | InitialiseOptionsToDefaultValues | ( | CPhoneGsmOptionContainerBase & | aOptions | ) | [private, static] |
Initialise options to default values.
| CPhoneGsmOptionContainerBase & aOptions |
| 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.
| const CPhoneGsmParserResult & aResult |
| 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.
| const CPhoneGsmParserResult & aResult |
| void | Panic | ( | TPanicReason | aReason | ) | [static] |
Panic!
| TPanicReason aReason | It is the reason for panic. |
Enumerates all common types.
| EContentInvalid | |
| EContentUnknown | |
| EContentPhoneNumber | |
| EContentSupplementaryService | |
| EContentUnstructuredService |
It enumerates the reasons for panics in parser.
| EIncorrectServiceDescription | |
| EIncorrectUse | |
| EOptionNotDefined | |
| EOptionAlreadyDefined | |
| EShouldNeverHappen |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.