#include <app/vcal.h>
class CParserVCalEntity : public CRecurrenceParser |
Public Member Functions | |
---|---|
~CParserVCalEntity() | |
virtual 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 &) |
virtual IMPORT_C CParserPropertyValue * | MakePropertyValueL(const TUid &, HBufC16 *&) |
virtual IMPORT_C TUid | RecognizeToken(const TDesC8 &) |
Inherited Enumerations | |
---|---|
CVersitParser:TCharCodes | |
CVersitParser:TVersitParserFlags |
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).
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.
Parameter | Description |
---|---|
aContentDispositionToken | The disposition of the data for the alarm action. |
Returns: decoded disposition type
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | [virtual] |
Reimplemented from CVersitParser::ExternalizeL(RWriteStream &)
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.
Parameter | Description |
---|---|
aStream | Stream to which the vTodo or vEvent should be externalised. |
IMPORT_C CVersitAlarm * | MakePropertyValueAlarmL | ( | TPtr16 | aAlarmValue | ) | [protected] |
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.
Parameter | Description |
---|---|
aAlarmValue | a pointer to a buffer containing the assocaited data for the alarm. Should not point to an empty descriptor. |
Returns: The newly created extended alarm.
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.
Parameter | Description |
---|---|
aAlarmValue | a reference to a buffer containing the assocaited data for the alarm. Should not be an empty buffer. |
Returns: The newly created extended alarm.
IMPORT_C CParserPropertyValue * | MakePropertyValueL | ( | const TUid & | aPropertyUid, |
HBufC16 *& | aValue | |||
) | [protected, virtual] |
Reimplemented from CVersitParser::MakePropertyValueL(const TUid &,HBufC16 *&)
IMPORT_C CParserVCalEntity * | NewL | ( | ) | [static] |
Allocates and constructs a vCalendar sub-entity parser.
Returns: A pointer to the new vCalendar sub-entity parser.
Reimplemented from CVersitParser::RecognizeToken(const TDesC8 &)const