Location:
agmids.h
Link against: agnmodel.lib
TAgnInstanceId
Supported from 5.0
Identifies an instance of an entry in the agenda instance model
(CAgnModel), with an entry ID (TAgnEntryId) and an
agenda date (TAgnDate).
|
Defined in TAgnInstanceId:
Date(), ExternalizeL(), InternalizeL(), IsNullInstanceId(), SetDate(), SetIdAndDate(), SetNullInstanceId(), TAgnInstanceId(), operator!=(), operator==()
Inherited from TAgnId:
Id(),
IsNullId(),
SetNullId(),
operator<(),
operator>()
TAgnInstanceId();
TAgnInstanceId(TAgnEntryId aId,TAgnDate=AgnDateTime::NullDate());
TAgnInstanceId(TAgnEntryId aId,TTime aDate);
Overloaded C++ constructor. The object can be constructed:
by default; this sets the entry ID and date to NULL
with an entry ID and an agenda date
with an entry ID and a TTime; this initialises
the instance ID's date to the date component of the TTime
object.
TAgnDate Date() const;
Gets the date of the instance ID.
|
void SetDate(TAgnDate aDate);
Sets the date of the instance ID.
|
void SetIdAndDate(TAgnEntryId aId,TAgnDate aDate);
Sets both the ID and date.
|
void InternalizeL(RReadStream& aStream);
Internalises an instance ID from a read stream. The presence of this
function means that the standard templated operator>>() is
available to internalise objects of this class.
|
void ExternalizeL(RWriteStream& aStream) const;
Externalises an instance ID to a write stream. The presence of this
function means that the standard templated operator<<() is
available to externalise objects of this class.
|
TBool operator!=(TAgnInstanceId aId) const;
Compares two instance IDs for inequality.
|
|
TBool operator==(TAgnInstanceId aId) const;
Compares two instance IDs for equality.
|
|
TBool IsNullInstanceId() const;
Tests whether the instance ID is NULL.
|
void SetNullInstanceId();
Sets the instance ID's date and its entry ID to NULL.