class CParserVCalEntity : public CRecurrenceParser |
A parser for vCalendar sub-entities.
A vCalendar sub-entity is a vEvent or vToDo contained in a vCalendar. vEvents and vToDos are derived from CRecurrenceParser , which provides recurrence functionality.
vEvents and vTodos may have alarm properties (see CParserPropertyValueAlarm ).
Public Member Functions | |
---|---|
~CParserVCalEntity () | |
IMPORT_C void | ExternalizeL ( RWriteStream &) |
IMPORT_C CParserVCalEntity * | NewL () |
Protected Member Functions | |
---|---|
IMPORT_C CVersitExtendedAlarm::TDisposition | DecodeDisposition (const TDesC8 &) |
IMPORT_C CVersitAlarm * | MakePropertyValueAlarmL ( TPtr16 ) |
IMPORT_C CVersitExtendedAlarm * | MakePropertyValueExtendedAlarmL ( TPtr16 ) |
IMPORT_C CVersitExtendedAlarm * | MakePropertyValueExtendedAlarmL ( CBufSeg &) |
IMPORT_C CParserPropertyValue * | MakePropertyValueL (const TUid &, HBufC16 *&) |
IMPORT_C TUid | RecognizeToken (const TDesC8 &) |
Private Member Functions | |
---|---|
CParserVCalEntity () | |
IMPORT_C void | Reserved1 () |
IMPORT_C void | Reserved2 () |
Inherited Enumerations | |
---|---|
CVersitParser:TCharCodes | |
CVersitParser:TVersitParserFlags |
IMPORT_C CVersitExtendedAlarm::TDisposition | DecodeDisposition | ( | const TDesC8 & | aContentDispositionToken | ) | const [protected] |
Used to find the type of the content disposition: inline, URL, or unknown. Converts content-value-type token field to content-value-type enum.
const TDesC8 & aContentDispositionToken | The disposition of the data for the alarm action. |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | [virtual] |
Externalises a vTodo or vEvent to a write stream.
Sets the entity's name to KVersitVarTokenVEVENT if it hasn't already been set.
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.
RWriteStream & aStream | Stream to which the vTodo or vEvent should be externalised. |
IMPORT_C CVersitAlarm * | MakePropertyValueAlarmL | ( | TPtr16 | aAlarmValue | ) | [protected] |
TPtr16 aAlarmValue |
IMPORT_C CVersitExtendedAlarm * | MakePropertyValueExtendedAlarmL | ( | TPtr16 | aAlarmValue | ) | [protected] |
Create a new extended alarm from a stream. The MIME type is set to the creating object's MIME type. The disposition is set to the creating object's disposition.
TPtr16 aAlarmValue | a pointer to a buffer containing the assocaited data for the alarm. Should not point to an empty descriptor. |
IMPORT_C CVersitExtendedAlarm * | MakePropertyValueExtendedAlarmL | ( | CBufSeg & | aAlarmValue | ) | [protected] |
Create a new extended alarm from a buffer. The MIME type is set to the creating object's MIME type. The disposition is set to the creating object's disposition.
CBufSeg & aAlarmValue | a reference to a buffer containing the assocaited data for the alarm. Should not be an empty buffer. |
IMPORT_C CParserPropertyValue * | MakePropertyValueL | ( | const TUid & | aPropertyUid, |
HBufC16 *& | aValue | |||
) | [protected, virtual] |
IMPORT_C CParserVCalEntity * | NewL | ( | ) | [static] |
Allocates and constructs a vCalendar sub-entity parser.
IMPORT_C TUid | RecognizeToken | ( | const TDesC8 & | aToken | ) | const [protected, virtual] |
const TDesC8 & aToken |
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.