TaggedDataParser Class Reference
Utility class used to parse data separated by xml-style tags.
Member Functions Documentation
AddItemIntoArrayL(TPtrC8 &, CDesCArray *&)
Add an item into descriptor array
Parameters
TPtrC8 & aItem | the item to be added to the descriptor array |
CDesCArray *& aArray | the array to add the item to |
ConvertText8ToTIntL(const TDesC8 &, TInt &)
void | ConvertText8ToTIntL | ( | const TDesC8 & | aData, |
| TInt & | aInt |
| ) | [static] |
Converts a string to a Tint. The string may contain hex value or decimal value
ExtractIntoArrayL(const TDesC8 &, CDesCArray *&)
Extracts elemements separated by semicolon into array descriptor
Parameters
const TDesC8 & aText | original content to extract elements from |
CDesCArray *& aArray | the array to add the extracted elements to |
ParseTaggedDataL(const TDesC8 &, MTaggedDataParserClient &)
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.
Parameters
const TDesC8 & aData | |
MTaggedDataParserClient & aClient | |
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.