| class CPhoneGsmParserBase : public CBase |
It is base class for parsers.
| Public Member Functions | |
|---|---|
| TPtrC | ExtractNumber (const TDesC &) |
| TBool | IsPostfixOf (const TDesC &, const TDesC &) |
| TBool | IsPrefixOf (const TDesC &, const TDesC &) |
| TBool | ParseL (const TDesC &, CPhoneGsmParserResult &, CPhoneGsmOptionContainerBase &) |
| TPtrC | ExtractNumber | ( | const TDesC & | aString | ) | [static] |
Extracts sequence of digits.
| const TDesC & aString | input. |
| TBool | IsPostfixOf | ( | const TDesC & | aString, |
| const TDesC & | aPostfix | |||
| ) | [static] | |||
Checks if string is postfix of another.
| TBool | IsPrefixOf | ( | const TDesC & | aString, |
| const TDesC & | aPrefix | |||
| ) | [static] | |||
Checks if string is prefix of another.
| TBool | ParseL | ( | const TDesC & | aString, |
| CPhoneGsmParserResult & | aResult, | |||
| CPhoneGsmOptionContainerBase & | aOptions | |||
| ) | [pure virtual] | |||
Parses string.
String must not contain other characters than from set { 0..9, *, #, +, p, w }. If method leaves, then result may contain something that is not valid.
| const TDesC & aString | string to be parsed. |
| CPhoneGsmParserResult & aResult | It will contain result. |
| CPhoneGsmOptionContainerBase & aOptions | It contains all options related to parsing. |
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.