class TAgnEntryId |
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).
Public Member Functions | |
---|---|
TAgnEntryId() | |
TAgnEntryId(const TStreamId &, TUint) | |
IMPORT_C void | ExternalizeL(RWriteStream &) |
IMPORT_C void | InternalizeL(RReadStream &) |
IMPORT_C TBool | IsNullId() |
IMPORT_C TUint | PartialId() |
void | SetStreamId(const TStreamId &) |
TStreamId | StreamId() |
TUint | Value() |
IMPORT_C TBool | operator!=(const TAgnEntryId &) |
IMPORT_C TBool | operator==(const TAgnEntryId &) |
Private Member Functions | |
---|---|
void | SetPartialId(TUint) |
Protected Attributes | |
---|---|
TUint32 | iId |
IMPORT_C | TAgnEntryId | ( | const TStreamId & | aStreamId, |
TUint | aPartialId | |||
) |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream | ) | const |
RWriteStream & aStream |
IMPORT_C void | InternalizeL | ( | RReadStream & | aStream | ) |
RReadStream & aStream |
void | SetStreamId | ( | const TStreamId & | aId | ) |
const TStreamId & aId |
IMPORT_C TBool | operator!= | ( | const TAgnEntryId & | aId | ) | const |
const TAgnEntryId & aId |
IMPORT_C TBool | operator== | ( | const TAgnEntryId & | aId | ) | const |
const TAgnEntryId & aId |