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

Parameters

RWriteStream & aStream Stream to which the object should be externalised.

InternalizeL(RReadStream &)

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

Parameters

RReadStream & aStream Stream from which the object should be internalized

SetDate(const TAgnCalendarTime &)

IMPORT_C void SetDate ( const TAgnCalendarTime & aDate )

Sets the date component of the instance ID.

Parameters

const TAgnCalendarTime & aDate The new date.

SetEntryId(const TAgnEntryId &)

IMPORT_C void SetEntryId ( const TAgnEntryId & aId )

Parameters

const TAgnEntryId & aId

operator!=(const TAgnInstanceId &)

IMPORT_C TBool operator!= ( const TAgnInstanceId & aId ) const

Compares two instance IDs for inequality.

Parameters

const TAgnInstanceId & aId The instance ID to compare with this one.

operator==(const TAgnInstanceId &)

IMPORT_C TBool operator== ( const TAgnInstanceId & aId ) const

Compares two instance IDs for equality.

Parameters

const TAgnInstanceId & aId The instance ID to compare with this one.

Member Data Documentation

TAgnCalendarTime iDate

TAgnCalendarTime iDate [protected]