CParserVCalEntity Class Reference

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).

Inherits from

Public Member Functions
~CParserVCalEntity()
IMPORT_C voidExternalizeL(RWriteStream &)
IMPORT_C CParserVCalEntity *NewL()
Protected Member Functions
IMPORT_C CVersitExtendedAlarm::TDispositionDecodeDisposition(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 TUidRecognizeToken(const TDesC8 &)
Private Member Functions
CParserVCalEntity()
IMPORT_C voidReserved1()
IMPORT_C voidReserved2()
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CRecurrenceParser::CRecurrenceParser(TBool)
CRecurrenceParser::MakePropertyValueRecurrenceL(TDes &)
CVersitParser::AddEntityL(CVersitParser *)
CVersitParser::AddPropertyL(CParserProperty *,TBool)
CVersitParser::AdjustAllPropertyDateTimesToMachineLocalL()
CVersitParser::AnalysesEncodingCharset(CArrayPtr< CParserParam > *)
CVersitParser::AppendBeginL()
CVersitParser::AppendEndL()
CVersitParser::AppendEntityNameL()
CVersitParser::ArrayOfEntities(TBool)
CVersitParser::ArrayOfProperties(TBool)
CVersitParser::BufPtr()
CVersitParser::CVersitParser(TUint)
CVersitParser::ClearSupportsVersion()
CVersitParser::ConstructL()
CVersitParser::ConvertAllPropertyDateTimesToMachineLocalL(const TTimeIntervalSeconds &,const CVersitDaylight *)
CVersitParser::ConvertFromUnicodeToISOL(TDes8 &,const TDesC16 &,CCnvCharacterSetConverter *)
CVersitParser::ConvertToUnicodeFromISOL(TDes16 &,const TDesC8 &,TUint)
CVersitParser::ConvertToUnicodeL(const TDesC8 &)
CVersitParser::DecodeDateTimeL(TDes &)const
CVersitParser::DecodePropertyValueL(const TDesC8 &)
CVersitParser::DecodePropertyValueL(const TDesC8 &,const TUid &)
CVersitParser::DecodeTimePeriodL(const TDesC &)const
CVersitParser::DecodeTimeZoneL(const TDesC &)const
CVersitParser::DefaultCharSet()const
CVersitParser::DefaultCharSetId()const
CVersitParser::DefaultEncoding()const
CVersitParser::DoAddPropertyL(CParserProperty *)
CVersitParser::EntityL(const TDesC &,TBool)
CVersitParser::EntityName()const
CVersitParser::ExternalizeL(RFile &)
CVersitParser::FindFirstField(TPtr16 &,TPtr16 &,TBool)
CVersitParser::FindRemainingField(TPtr16 &,TPtr16 &)
CVersitParser::GetNumberL(const TDesC &,TInt &)const
CVersitParser::GetPropertyParamsLC(TPtr8)
CVersitParser::InternalizeL(HBufC *,CLineReader *)
CVersitParser::InternalizeL(RFile &,TInt &)
CVersitParser::InternalizeL(RReadStream &)
CVersitParser::IsPunctuationToken(TUint)
CVersitParser::IsValidLabel(const TDesC &,TInt &)
CVersitParser::IsValidParameterValue(TInt &,const TDesC &)
CVersitParser::LineCharSet()const
CVersitParser::LineCharSetId()const
CVersitParser::LineEncoding()const
CVersitParser::LineEncodingId()const
CVersitParser::LoadBinaryValuesFromFilesL()
CVersitParser::LoadBinaryValuesFromFilesL(RFs &)
CVersitParser::MakeDefaultPropertyValueL(HBufC16 *&)
CVersitParser::MakeEntityL(TInt,HBufC *)
CVersitParser::MakePropertyL(TPtr8 &,TInt)
CVersitParser::MakePropertyValueCDesCArrayL(TPtr16)
CVersitParser::MakePropertyValueDaylightL(TPtr16)
CVersitParser::MakePropertyValueMultiDateTimeL(TPtr16)
CVersitParser::MapVersitCharsetToCharConvCharset(Versit::TVersitCharSet)
CVersitParser::MapVersitEncodingToConArcUid(Versit::TVersitEncoding)
CVersitParser::Observer()
CVersitParser::ParseBeginL()
CVersitParser::ParseEndL()
CVersitParser::ParseEndL(HBufC16 &)
CVersitParser::ParseEntityL()
CVersitParser::ParseParamL(CArrayPtr< CParserParam > *,TPtr8)
CVersitParser::ParsePropertiesL()
CVersitParser::ParsePropertyL()
CVersitParser::PlugIn()
CVersitParser::PropertyL(const TDesC8 &,const TUid &,TBool)const
CVersitParser::ReadLineAndDecodeParamsLC(TInt &,TInt &)
CVersitParser::ReadMultiLineValueL(TPtr8 &,TInt,TBool)
CVersitParser::RecognizeEntityName()const
CVersitParser::ResetAndDestroyArrayOfDateTimes(TAny *)
CVersitParser::ResetAndDestroyArrayOfEntities(TAny *)
CVersitParser::ResetAndDestroyArrayOfParams(TAny *)
CVersitParser::ResetAndDestroyArrayOfProperties(TAny *)
CVersitParser::RestoreLineCodingDetailsToDefault()
CVersitParser::SaveBinaryValuesToFilesL(TInt,const TDesC &)
CVersitParser::SaveBinaryValuesToFilesL(TInt,const TDesC &,RFs &)
CVersitParser::SetAutoDetect(TBool,const CArrayFix< CCnvCharacterSetConverter::SCharacterSet > *)
CVersitParser::SetCharacterConverter(Versit::TEncodingAndCharset &)
CVersitParser::SetDefaultCharSet(const Versit::TVersitCharSet)
CVersitParser::SetDefaultCharSetId(TUint)
CVersitParser::SetDefaultEncoding(const Versit::TVersitEncoding)
CVersitParser::SetEntityNameL(const TDesC &)
CVersitParser::SetFlags(TUint)
CVersitParser::SetLineCharacterSet(Versit::TVersitCharSet)
CVersitParser::SetLineCharacterSetId(TUint)
CVersitParser::SetLineCoding(Versit::TVersitCharSet,Versit::TVersitEncoding)
CVersitParser::SetLineEncoding(TUint)
CVersitParser::SetLineEncoding(Versit::TVersitEncoding)
CVersitParser::SetObserver(MVersitObserver *)
CVersitParser::SetPlugIn(MVersitPlugIn *)
CVersitParser::SetSupportsVersion()
CVersitParser::SupportsVersion()const
CVersitParser::UnicodeUtils()
CVersitParser::Val(const TDesC &,TInt &)
CVersitParser::~CVersitParser()
Inherited Enumerations
CVersitParser:TCharCodes
CVersitParser:TVersitParserFlags
Inherited Attributes
CVersitParser::iArrayOfEntities
CVersitParser::iArrayOfProperties
CVersitParser::iAutoDetectCharSets
CVersitParser::iCurrentProperty
CVersitParser::iCurrentPropertyCodingDetails
CVersitParser::iDecodedValue
CVersitParser::iDefaultCodingDetails
CVersitParser::iDefaultVersion
CVersitParser::iEntityName
CVersitParser::iFlags
CVersitParser::iLargeDataBuf
CVersitParser::iLineReader
CVersitParser::iObserver
CVersitParser::iOwnedLineReader
CVersitParser::iPlugIn
CVersitParser::iStaticUtils
CVersitParser::iWriteStream

Constructor & Destructor Documentation

CParserVCalEntity()

CParserVCalEntity()[private]

Constructs a vCalendar sub-entity parser.

~CParserVCalEntity()

IMPORT_C~CParserVCalEntity()

The destructor is empty.

Member Functions Documentation

DecodeDisposition(const TDesC8 &)

IMPORT_C CVersitExtendedAlarm::TDispositionDecodeDisposition(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.

Parameters

const TDesC8 & aContentDispositionTokenThe disposition of the data for the alarm action.

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(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.

Parameters

RWriteStream & aStreamStream to which the vTodo or vEvent should be externalised.

MakePropertyValueAlarmL(TPtr16)

IMPORT_C CVersitAlarm *MakePropertyValueAlarmL(TPtr16aAlarmValue)[protected]

Parameters

TPtr16 aAlarmValue

MakePropertyValueExtendedAlarmL(TPtr16)

IMPORT_C CVersitExtendedAlarm *MakePropertyValueExtendedAlarmL(TPtr16aAlarmValue)[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.

Parameters

TPtr16 aAlarmValuea pointer to a buffer containing the assocaited data for the alarm. Should not point to an empty descriptor.

MakePropertyValueExtendedAlarmL(CBufSeg &)

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.

Parameters

CBufSeg & aAlarmValuea reference to a buffer containing the assocaited data for the alarm. Should not be an empty buffer.

MakePropertyValueL(const TUid &, HBufC16 *&)

IMPORT_C CParserPropertyValue *MakePropertyValueL(const TUid &aPropertyUid,
HBufC16 *&aValue
)[protected, virtual]

Parameters

const TUid & aPropertyUid
HBufC16 *& aValue

NewL()

IMPORT_C CParserVCalEntity *NewL()[static]

Allocates and constructs a vCalendar sub-entity parser.

RecognizeToken(const TDesC8 &)

IMPORT_C TUidRecognizeToken(const TDesC8 &aToken)const [protected, virtual]

Parameters

const TDesC8 & aToken

Reserved1()

IMPORT_C voidReserved1()[private, virtual]

Reserved2()

IMPORT_C voidReserved2()[private, virtual]