class CParserVCal : public CVersitParser |
A vCalendar parser.
Adds support for parsing vToDos and vEvents, and associated alarms (see CParserPropertyValueAlarm) to the functionality of CVersitParser.
Adds a constructor and overrides CVersitParser::InternalizeL() for streams, ExternalizeL() for streams, RecognizeToken(), RecognizeEntityName() and MakeEntityL().
The vCalendar data is read from or written to a stream or file, using the InternalizeL() and ExternalizeL() functions. Most users of this class will only need to use these functions.
Note: if you are sequentially creating and destroying multiple parsers, a major performance improvement may be achieved by using thread local storage to store an instance of CVersitUnicodeUtils which persists and can be used by all of the parsers.
See CVersitTlsData for more information.
Public Member Functions | |
---|---|
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C CParserVCal * | NewL() |
IMPORT_C TInt | RecognizeEntityName() |
IMPORT_C TUid | RecognizeToken(const TDesC8 &) |
Protected Member Functions | |
---|---|
IMPORT_C CVersitParser * | MakeEntityL(TInt, HBufC *) |
Private Member Functions | |
---|---|
CParserVCal() | |
IMPORT_C void | Reserved1() |
IMPORT_C void | Reserved2() |
Inherited Enumerations | |
---|---|
CVersitParser:TCharCodes | |
CVersitParser:TVersitParserFlags |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | [virtual] |
RWriteStream & aStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
RReadStream & aStream |
IMPORT_C CVersitParser * | MakeEntityL | ( | TInt | aEntityUid, |
HBufC * | aEntityName | |||
) | [protected, virtual] |