![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Section Contents
Applications that use this class will not work correctly on a version of EPOC earlier than ER5.
CBase |
Abstract: CBase behaviour. |
CVersitParser |
Generic parser base class. |
vcard.h
versit.lib
This class encapsulates a vCard parser. In addition to the functions inherited from CVersitParser, it provides support for property groups and agents.
CParserVCard();
The default C++ constructor constructs a vCard parser.
void ExternalizeL(RWriteStream& aStream);
Use this function to externalize a vCard entity to a write stream. The presence of this function means that the standard templated operator<<() (defined in s32strm.h
) is available to externalize objects of this class. The entity name is set to vCard.
RWriteStream& aStream |
Stream to which the vCard entity should be externalized. |
void InternalizeL(RReadStream& aStream);
Use this function to internalize a vCard entity from a read stream. The presence of this function means that the standard templated operator>>() (defined in s32strm.h
) is available to internalize objects of this class.
As part of the process, all date/time property values contained in the vCard entity are converted into machine local date/time values.
RReadStream& aStream |
Stream from which the vCard entity should be internalized. |
void ConvertAllPropertyDateTimesToMachineLocalL(const TTimeIntervalSeconds& aIncrement,const CVersitDaylight* aDaylight);
This function calls the overridden base class function. Additionally, this function converts all date/time values contained in any agent properties within the vCard to machine local date/times.
const TTimeIntervalSeconds& aIncrement |
A time interval in seconds to add to the date/time. |
const CVersitDaylight* aDaylight |
The specification for daylight saving. If a date/time value is within the period for daylight saving, the date/time is modified by the daylight saving offset. |
CArrayPtr<CParserProperty>* GroupOfPropertiesL(const TDesC& aGroupName) const;
The function retrieves the named property group from the vCard entity.
const TDesC& aGroupName |
The name of the property group of interest. |
CArrayPtr<CParserProperty>* |
Array of pointers to the properties contained in the named group. NULL if no matching property group was found. |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |