Location:
agmids.h
Link against: agnmodel.lib
TAgnId
Supported from 5.0
The base class for agenda entry and to-do list ID types.
Internally, stores the ID as a 32-bit unsigned integer. The interface to agenda entry and to-do list IDs is provided by the derived classes, including TAgnEntryId and TAgnTodoListId.
Defined in TAgnId:
ExternalizeL(), Id(), InternalizeL(), IsNullId(), SetNullId(), operator!=(), operator<(), operator==(), operator>()
void InternalizeL(RReadStream& aStream);
Internalises the 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 the 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!=(TAgnId aId) const;
Compares two IDs for inequality.
|
|
TBool operator==(TAgnId aId) const;
Compares two IDs for equivalence.
|
|
TBool operator<(TAgnId aId) const;
Tests whether this ID is less than another.
|
|
TBool operator>(TAgnId aId) const;
Tests whether this ID is greater than another.
|
|
TBool IsNullId() const;
Tests whether the ID value has been set. If not set, its value is zero.
|
void SetNullId();
Sets the ID value to zero.