MVPbkBaseContactFieldCollection Class Reference

#include <app/MVPbkBaseContactFieldCollection.h>

class MVPbkBaseContactFieldCollection
Public Member Functions
virtual ~MVPbkBaseContactFieldCollection()
virtual TAny *BaseContactFieldCollectionExtension(TUid)
pure virtual const MVPbkBaseContactField &FieldAt(TInt)
pure virtual TInt FieldCount()
pure virtual MVPbkBaseContact &ParentContact()

Detailed Description

Virtual Phonebook base contact field collection interface. An abstract collection of read-only Virtual Phonebook contact fields.

Constructor & Destructor Documentation

~MVPbkBaseContactFieldCollection ( )

~MVPbkBaseContactFieldCollection()[inline, virtual]

Destructor.

Member Function Documentation

BaseContactFieldCollectionExtension ( TUid )

TAny *BaseContactFieldCollectionExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

Returns: Extension point or NULL

FieldAt ( TInt )

const MVPbkBaseContactField &FieldAt(TIntaIndex)const [pure virtual]

Returns a read-only field in this collection.

See also: MVPbkBaseContactFieldCollection::ConstFieldAt aIndex >= 0 && aIndex < FieldCount() Panic VPbkError::EInvalidFieldIndex is raised if the precondition does not hold.

ParameterDescription
aIndexZero-based index of the field to return.

Returns: Reference to a field at aIndex. Reference is valid until FieldAt is called again.

FieldCount ( )

TInt FieldCount()const [pure virtual]

Returns the number of fields in this collection.

Returns: The number of fields in this collection.

ParentContact ( )

MVPbkBaseContact &ParentContact()const [pure virtual]

Returns the parent contact of this field set.

Returns: The parent contact of this field set.