class CContactAgentField : public CContactFieldStorage |
Provides access to an agent ID.
An agent is a field in a contact item which contains another person's contact details. It corresponds to the agent property in the vCard specification (version 2.1). The agent is identified by an agent ID (a TContactItemId).
An object of this class can be retrieved using CContactItemField::AgentStorage().
Public Member Functions | |
---|---|
void | ExternalizeL(RWriteStream &) |
void | InternalizeL(RReadStream &) |
TBool | IsFull() |
void | RestoreL(CStreamStore &, RReadStream &) |
IMPORT_C void | SetAgentId(TContactItemId) |
TStreamId | StoreL(CStreamStore &) |
IMPORT_C TContactItemId | Value() |
Private Member Functions | |
---|---|
IMPORT_C void | CContactFieldStorage_Reserved1() |
Private Attributes | |
---|---|
TContactItemId | iAgentId |
void | ExternalizeL | ( | RWriteStream & | aStream | ) | const [virtual] |
Externalises the field data.
RWriteStream & aStream | Write stream to which the contents of the field should be externalised. |
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Internalises the field data.
RReadStream & aStream | Stream from which the the contents of the field should be internalised. |
TBool | IsFull | ( | ) | const [virtual] |
Tests whether the field storage contains data.
True if the field storage contains data, false if not.
void | RestoreL | ( | CStreamStore & | aStore, |
RReadStream & | aStream | |||
) | [virtual] |
Restores the field data.
CStreamStore & aStore | Reference to the store from which the object is to be restored. |
RReadStream & aStream | Reference to the stream which should be passed to InternalizeL(). |
TStreamId | StoreL | ( | CStreamStore & | aStore | ) | const [virtual] |
Stores the field data.
The ID of the stream store.
CStreamStore & aStore | Reference to the stream store to which the field data is written. |