TAgnEntryId Class Reference
The base class for agenda entry and instance ID types. Internally, the ID is stored as a 32-bit unsigned integer.
This is made up of a stream ID which stores the stream containing the entry, and a partial ID, which gives the position of the entry within that stream. There can be up to EMaxNumEntriesPerStream entries in a stream (16).
Constructor & Destructor Documentation
TAgnEntryId(const TStreamId &, TUint)
Member Functions Documentation
ExternalizeL(RWriteStream &)
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.
Parameters
RWriteStream & aStream | Stream to which the ID should be externalised. |
InternalizeL(RReadStream &)
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.
Parameters
RReadStream & aStream | Stream from which the ID should be internalised. |
IsNullId()
IMPORT_C TBool | IsNullId | ( | ) | const |
Tests whether the ID value has been set.
If not set, its value is zero.
PartialId()
IMPORT_C TUint | PartialId | ( | ) | const |
SetPartialId(TUint)
void | SetPartialId | ( | TUint | aId | ) | [private] |
SetStreamId(const TStreamId &)
Value()
TUint
| Value | ( | ) | const [inline] |
operator!=(const TAgnEntryId &)
Compares two IDs for inequality.
Parameters
const TAgnEntryId & aId | The ID to compare with this one. |
operator==(const TAgnEntryId &)
Compares two IDs for equivalence.
Parameters
const TAgnEntryId & aId | The ID to compare with this one. |
Member Data Documentation
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.