EPOC   SDK Home Glossary Indexes Previous Next Up

CParserPropertyValueAgent class


Contents


CParserPropertyValueAgent class — Agent property value

Section Contents


Overview

Compatability

Applications that use this class will not work correctly on a version of EPOC earlier than ER5.

Derivation

CBase

Abstract: CBase behaviour.

CParserPropertyValue

Abstract: Base class for all property values.

Defined in

vcard.h

Link against

versit.lib

Description

The agent property value contains information about another person, which is nested within a vCard entity.

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.


Construction and destruction


CParserPropertyValueAgent() — C++ constructor with a vCard parser

CParserPropertyValueAgent(CParserVCard* aValue);

Description

The C++ constructor creates an agent property value, with a pointer to a CParserVCard.

Arguments

CParserVCard* aValue

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


~CParserPropertyValueAgent() — Destructor

~CParserPropertyValueAgent();

Description

The destructor frees all resources owned by the property value, prior to its destruction.


Property value


Value() — Get the agent property value

CParserVCard* Value() const;

Description

Retrieves the agent property value.

Return value

CParserVCard*

A pointer to the agent property value.

EPOC       SDK Home Glossary Indexes Previous Next Up