class CParserPropertyValueAgent : public CParserPropertyValue |
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.
Public Member Functions | |
---|---|
CParserPropertyValueAgent(CParserVCard *) | |
~CParserPropertyValueAgent() | |
IMPORT_C void | ExternalizeL(RWriteStream &, const Versit::TEncodingAndCharset &, TInt) |
CParserVCard * | Value() |
Protected Attributes | |
---|---|
CParserVCard * | iValue |
IMPORT_C | CParserPropertyValueAgent | ( | CParserVCard * | aValue | ) |
CParserVCard * aValue |
IMPORT_C void | ExternalizeL | ( | RWriteStream & | aStream, |
const Versit::TEncodingAndCharset & | aEncodingCharset, | |||
TInt | aLengthOutput | |||
) | [virtual] |
Externalises the property value to a write stream.
Implementations of this function are invoked by the parser's ExternalizeL() function.
RWriteStream & aStream | Stream to which the property value is externalised. |
const Versit::TEncodingAndCharset & aEncodingCharset | The character set and encoding information. |
TInt aLengthOutput | The amount of text that has been outputted so far on the line (for the property name), which may need to be taken into account when calculating if and where any line break should occur. |
CParserVCard * | Value | ( | ) | const [inline] |
Gets the agent object owned by the property value.
A pointer to the agent property value.