| class TaggedDataParser |
Utility class used to parse data separated by xml-style tags.
| Public Member Functions | |
|---|---|
| void | ConvertTextToTUintL(const TDesC8 &, TUint &) |
| void | ConvertTextToUidL(const TDesC8 &, TUid &) |
| void | ParseTaggedDataL(const TDesC8 &, MTaggedDataParserClient &) |
| void | ConvertTextToTUintL | ( | const TDesC8 & | aData, |
| TUint & | aUid | |||
| ) | [static] | |||
Converts a string to a TUint. The string must begin with "0x" and be 10 characters long, otherwise it is considered corrupt.
| void | ConvertTextToUidL | ( | const TDesC8 & | aData, |
| TUid & | aUid | |||
| ) | [static] | |||
Converts a string to a uid. If the string begin with "0x" it will be parsed as Hex, else Decimal.
| void | ParseTaggedDataL | ( | const TDesC8 & | aData, |
| MTaggedDataParserClient & | aClient | |||
| ) | [static] | |||
Splits aData into xml-style tags and values, and gets aClient to process each tag/value pair.
| const TDesC8 & aData | |
| MTaggedDataParserClient & aClient |