Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: VCARD.H
Link against: vcard.lib

Class CParserPropertyValueAgent

class CParserPropertyValueAgent : public CParserPropertyValue;

Description

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.

The UID for an agent property value is KVCardPropertyAgentUid.

Derivation

Members

Defined in CParserPropertyValueAgent:
CParserPropertyValueAgent(), ExternalizeL(), Value(), iValue, ~CParserPropertyValueAgent()

Inherited from CBase:
Delete(), Extension_(), operator new()

Inherited from CParserPropertyValue:
Append(), EncodeL(), FoldAndWriteValueToStreamL(), FoldEncodeAndWriteValueToStreamL(), IsAsciiCharacterSetSufficient(), PlugIn(), SetPlugIn(), SupportsInterface(), Uid()


Construction and destruction


CParserPropertyValueAgent()

IMPORT_C CParserPropertyValueAgent(CParserVCard *aValue);

Description

Constructs an agent property value, using a pointer to an agent.

Sets the property value UID to KVCardPropertyAgentUid.

Parameters

CParserVCard *aValue

A pointer to the agent object to assign to the property value. The property value takes ownership of the pointer.


~CParserPropertyValueAgent()

IMPORT_C ~CParserPropertyValueAgent();

Description

Frees all resources owned by the property value, prior to its destruction.

[Top]


Member functions


Value()

inline CParserVCard *Value() const;

Description

Gets the agent object owned by the property value.

Return value

CParserVCard *

A pointer to the agent property value.


ExternalizeL()

virtual IMPORT_C void ExternalizeL(RWriteStream &aStream, const Versit::TEncodingAndCharset &,TInt);

Description

Externalises the agent property value to aStream.

Parameters

RWriteStream &aStream

Stream to which the value should be externalised.

const Versit::TEncodingAndCharset &

TInt

[Top]


Member data


iValue

protected: CParserVCard * iValue;

Description