|
|
|
|
Location:
CNTFLDST.H
Link against: cntmodel.lib
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().
CBase - Base class for all classes to be instantiated on the heapCContactFieldStorage - Abstract base class for the different types of contact field data storageCContactAgentField - Provides access to an agent IDDefined in CContactAgentField:
CContactFieldStorage_Reserved1(), ExternalizeL(), InternalizeL(), IsFull(), RestoreL(), SetAgentId(), StoreL(), Value()
Inherited from CBase:
Delete(),
Extension_(),
operator new()
virtual TStreamId StoreL(CStreamStore &aStore) const;
Stores the field data.
|
|
virtual void RestoreL(CStreamStore &aStore, RReadStream &aStream);
Restores the field data.
|
IMPORT_C void SetAgentId(TContactItemId aId);
Sets the agent ID field data.
|
IMPORT_C TContactItemId Value() const;
Gets the agent ID field data.
|
virtual void InternalizeL(RReadStream &aStream);
Internalises the field data.
|
virtual void ExternalizeL(RWriteStream &aStream) const;
Externalises the field data.
|
virtual TBool IsFull() const;
Tests whether the field storage contains data.
|
private: virtual IMPORT_C void CContactFieldStorage_Reserved1();