TAgnInstanceId Class Reference

class TAgnInstanceId : public TAgnEntryId

Identifies an instance of an entry in the agenda instance model (CAgnModel), using an entry ID (TAgnEntryId) and an agenda date (TTime).

Inherits from

Member Functions Documentation

Date()

IMPORT_C const TAgnCalendarTime &Date()const

ExternalizeL(RWriteStream &)

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

Parameters

RWriteStream & aStreamStream to which the object should be externalised.

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStreamStream from which the object should be internalized

SetDate(const TAgnCalendarTime &)

IMPORT_C voidSetDate(const TAgnCalendarTime &aDate)

Sets the date component of the instance ID.

Parameters

const TAgnCalendarTime & aDateThe new date.

SetEntryId(const TAgnEntryId &)

IMPORT_C voidSetEntryId(const TAgnEntryId &aId)

Parameters

const TAgnEntryId & aId

operator!=(const TAgnInstanceId &)

IMPORT_C TBooloperator!=(const TAgnInstanceId &aId)const

Compares two instance IDs for inequality.

Parameters

const TAgnInstanceId & aIdThe instance ID to compare with this one.

operator==(const TAgnInstanceId &)

IMPORT_C TBooloperator==(const TAgnInstanceId &aId)const

Compares two instance IDs for equality.

Parameters

const TAgnInstanceId & aIdThe instance ID to compare with this one.

Member Data Documentation

TAgnCalendarTime iDate

TAgnCalendarTime iDate[protected]