#include <app/vcard.h>
class CParserPropertyValueAgent : public CParserPropertyValue |
Protected Attributes | |
---|---|
CParserVCard * | iValue |
Public Member Functions | |
---|---|
CParserPropertyValueAgent(CParserVCard *) | |
~CParserPropertyValueAgent() | |
virtual IMPORT_C void | ExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt) |
CParserVCard * | Value() |
An agent property value parser.
An agent property value contains information about a person who is not the main subject of the vCard. It is implemented as a vCard nested within another vCard. The agent's vCard is held in the property value of the parent vCard.
We do not support nested agents when parsing an agent's vcard.
The UID for an agent property value is KVCardPropertyAgentUid.
IMPORT_C | CParserPropertyValueAgent | ( | CParserVCard * | aValue | ) |
Constructs an agent property value, using a pointer to an agent.
Sets the property value UID to KVCardPropertyAgentUid.
Parameter | Description |
---|---|
aValue | A pointer to the agent object to assign to the property value. The property value takes ownership of the pointer. |
IMPORT_C | ~CParserPropertyValueAgent | ( | ) |
Frees all resources owned by the property value, prior to its destruction.
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
const Versit::TEncodingAndCharset & | , | |||
TInt | ||||
) | [virtual] |
Reimplemented from CParserPropertyValue::ExternalizeL(RWriteStream &,const Versit::TEncodingAndCharset &,TInt)
Externalises the agent property value to aStream.
Parameter | Description |
---|---|
aStream | Stream to which the value should be externalised. |
CParserVCard * | Value | ( | ) | const [inline] |
Gets the agent object owned by the property value.
Returns: A pointer to the agent property value.