Location:
agmexcpt.h
Link against: agnmodel.lib
TAgnException
Supported from 5.0
Stores the date of an exception to a repeating entry.
Agenda entries own a repeat definition (CAgnRptDef*)
which contains the repeat details for the entry, including exceptions. This
pointer is NULL if the entry is not repeating. To set it, use
CAgnEntry::SetRptDefL(). The repeat definition can be retrieved
using CAgnBasicEntry::RptDef(). Exceptions can be added, removed,
pruned and searched for using functions defined in class
CAgnBasicEntry, or the CAgnRptDef class can be used
directly.
Defined in TAgnException:
Date(), ExternalizeL(), InternalizeL(), SetDate(), TAgnException()
TAgnException();
TAgnException(TAgnDate aDate);
Overloaded C++ constructor. The exception can be constructed:
by default — this initialises the exception date to NULL
with an exception date
void SetDate(TAgnDate aDate);
Sets the exception date, specified as an agenda date value.
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises an exception date to a write stream. The presence of
this function means that the standard templated operator<<()
is available to externalise objects of this class
|
void InternalizeL(RReadStream& aStream);
Internalises an exception date from a read stream. The presence of this
function means that the standard templated operator>>() is
available to internalise objects of this class.
|