CContactAgentField Class Reference
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().
Member Functions Documentation
CContactFieldStorage_Reserved1()
IMPORT_C void | CContactFieldStorage_Reserved1 | ( | ) | [private, virtual] |
ExternalizeL(RWriteStream &)
Externalises the field data.
Parameters
RWriteStream & aStream | Write stream to which the contents of the field should be externalised. |
InternalizeL(RReadStream &)
Internalises the field data.
Parameters
RReadStream & aStream | Stream from which the the contents of the field should be internalised. |
IsFull()
TBool
| IsFull | ( | ) | const [virtual] |
Tests whether the field storage contains data.
RestoreL(CStreamStore &, RReadStream &)
Parameters
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(). |
SetAgentId(TContactItemId)
Sets the agent ID field data.
Parameters
TContactItemId aId | The agent ID. Must be > 0 otherwise it won't be set. |
StoreL(CStreamStore &)
Parameters
CStreamStore & aStore | Reference to the stream store to which the field data is written. |
Value()
Gets the agent ID field data.
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.