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
Nested Classes and Structures
Constructor & Destructor Documentation
CPhoneGsmOptionContainer()
| CPhoneGsmOptionContainer | ( | ) | [private] |
CPhoneGsmOptionContainer(const CPhoneGsmOptionContainer &)
~CPhoneGsmOptionContainer()
| ~CPhoneGsmOptionContainer | ( | ) | |
Member Functions Documentation
ConstructL()
| void | ConstructL | ( | ) | [private] |
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] |
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)
Checks if option is defined.
Parameters
| TInt aOptionUid | It is the uid of the option. |
SetOptionStatus(TInt, TBool)
| void | SetOptionStatus | ( | TInt | aOptionUid, |
| | TBool | aStatus |
| | ) | [virtual] |
Parameters
| TInt aOptionUid | It is the uid of the option. |
| TBool aStatus | It is the new status for the option. |
operator=(const CPhoneGsmOptionContainer &)
Member Type Definitions Documentation
Typedef COptionArray
It is the type for array of options.
Member Data Documentation
CPhoneGsmOptionContainerExt * iExtension
| CPhoneGsmOptionContainerExt * | iExtension | [private] |
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.