Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: vcard.h
Link against: versit.lib

Class CParserPropertyValueAgent

CParserPropertyValueAgent

Support

Supported from 5.0

Description

An agent property value. An agent property contains information about a person who is not the main subject of the vCard. It is implemented as a vCard nested within another vCard. To find out the property value type, use Uid() defined in the base class CParserPropertyValue. An agent property UID has the value KVCardPropertyAgentUid.

The class defines an ExternalizeL() function which has not been documented. It is invoked by the parser's ExternalizeL() function.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CParserPropertyValueAbstract base class for all property values
CParserPropertyValueAgentAn agent property value

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

Inherited from CBase:
operator new()

Inherited from CParserPropertyValue:
EncodeL(), ExternalizeL(), IsAsciiCharacterSetSufficient(), SupportsInterface(), Uid()


Construction and destruction


CParserPropertyValueAgent()

CParserPropertyValueAgent(CParserVCard* aValue);

Description

Constructs an agent property value, with a pointer to an agent. Sets the 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()

~CParserPropertyValueAgent();

Description

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

[Top]


Property value


Value()

CParserVCard* Value() const;

Description

Gets the agent object owned by the property value.

Return value

CParserVCard*

A pointer to the agent property value.