Location:
vcard.h
Link against: versit.lib
CParserVCard
Supported from 5.0
A vCard parser. In addition to the functions inherited from
CVersitParser, it provides support for property groups and
agents.
|
Defined in CParserVCard:
CParserVCard(), ConvertAllPropertyDateTimesToMachineLocalL(), ExternalizeL(), GroupOfPropertiesL(), InternalizeL()
Inherited from CBase:
operator new()
Inherited from CVersitParser:
AddEntityL(),
AddPropertyL(),
ArrayOfEntities(),
ArrayOfProperties(),
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
void ExternalizeL(RWriteStream& aStream);
Externalises a vCard 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
KVersitVarTokenVCARD if it hasn’t already been set.
|
void InternalizeL(RReadStream& aStream);
Internalises 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
internalise objects of this class. All date/time property values contained in
the vCard entity are converted into machine local date/time values.
|
void ConvertAllPropertyDateTimesToMachineLocalL(const TTimeIntervalSeconds& aIncrement,const CVersitDaylight* aDaylight);
Converts all date/time property values contained in the vCard entity into machine local values, including all date/time values contained in agent properties.
|
CArrayPtr<CParserProperty>* GroupOfPropertiesL(const TDesC& aGroupName) const;
Gets the named property group from the vCard entity. A property group is a collection of related properties, identified by a group name.
|
|