Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: vcal.h
Link against: versit.lib

Class CParserVCal

CParserVCal

Support

Supported from 5.0

Description

A vCalendar parser. Adds a constructor and overrides CVersitParser::InternalizeL() and ExternalizeL().

Derivation

CBaseBase class for all classes to be instantiated on the heap
CParserVCalA vCalendar parser
CVersitParservCalendar or vCard parser

Defined in CParserVCal:
CParserVCal(), ExternalizeL(), InternalizeL()

Inherited from CBase:
operator new()

Inherited from CVersitParser:
AddEntityL(), AddPropertyL(), ArrayOfEntities(), ArrayOfProperties(), ConvertAllPropertyDateTimesToMachineLocalL(), DefaultCharSet(), DefaultEncoding(), EBIG5CharSet, EEUCJPCharSet, EGB231280CharSet, EGBKCharSet, EISO2022JPCharSet, EISO885910CharSet, EISO88591CharSet, EISO88592CharSet, EISO88593CharSet, EISO88594CharSet, EISO88595CharSet, EISO88597CharSet, EISO88599CharSet, EShiftJISCharSet, EUSAsciiCharSet, EUTF7CharSet, EUTF8CharSet, EntityL(), EntityName(), IsValidLabel(), IsValidParameterValue(), PropertyL(), SetDefaultCharSet(), SetDefaultEncoding(), SetEntityNameL(), SetParamCharType(), TVersitCharSet


Construction


CParserVCal()

CParserVCal();

Description

Constructs a vCalendar parser.

[Top]


Stream persistence


ExternalizeL()

void ExternalizeL(RWriteStream& aStream);

Description

Externalises a vCalendar entity (and all sub-entities) to a write stream. Also converts all date/time values from machine-local into universal time. The presence of this function means that the standard templated operator<<() (defined in s32strm.h) is available to externalise objects of this class. Sets the entity name to KVersitVarTokenVCALENDAR if it hasn’t already been set.

Parameters

RWriteStream& aStream

Stream to which the vCalendar should be externalised.


InternalizeL()

void InternalizeL(RReadStream& aStream);

Description

Internalises a vCalendar entity from a read stream. The presence of this function means that the standard templated operator>>() (defined in s32strm.h) is available to internalise objects of this class. Converts all date/time property values contained in the vCalendar entity and in all its sub-entities into machine local date/time values.

Parameters

RReadStream& aStream

Stream from which the vCalendar should be internalised.