MVPbkFieldTypeList Class Reference

class MVPbkFieldTypeList

An interface for a list of field types.

Constructor & Destructor Documentation

~MVPbkFieldTypeList()

~MVPbkFieldTypeList()[inline, virtual]

Destructor.

Member Functions Documentation

ContainsSame(const MVPbkFieldType &)

TBool ContainsSame(const MVPbkFieldType &aFieldType)const [pure virtual]

Returns true if this list contains aFieldType.

ETrue if the list contains the field type.

Parameters

const MVPbkFieldType & aFieldTypeThe field type to look for.

FieldTypeAt(TInt)

const MVPbkFieldType &FieldTypeAt(TIntaIndex)const [pure virtual]

Returns the field type object at aIndex.

The objects are not in any specific order.

aIndex >= 0 && aIndex < FieldTypeCount() A reference to Virtual Phonebook field type. The reference is valid for the lifetime of this object.

Parameters

TInt aIndexAn index of a field type.

FieldTypeCount()

TInt FieldTypeCount()const [pure virtual]

Returns the number of field type objects in this list.

A number of field types.

FieldTypeListExtension(TUid)

TAny *FieldTypeListExtension(TUid)[inline, virtual]

Returns an extension point for this interface or NULL.

an extension point for this interface or NULL.

Parameters

TUid

Find(TInt)

const MVPbkFieldType *Find(TInt)const [inline, virtual]

Returns the field type corresponding to field type resource id.

If no match is found returns NULL. The resource id aFieldTypeResId corresponds to the VPBK_FIELD_TYPE types in VPbkEng.rsg.

The corresponding field type.

Parameters

TInt

FindMatch(const TVPbkFieldVersitProperty &, TInt)

const MVPbkFieldType *FindMatch(const TVPbkFieldVersitProperty &aMatchProperty,
TIntaMatchPriority
)const [pure virtual]

Returns a matching field type in this list or NULL if no match is found.

A matching field type.

Parameters

const TVPbkFieldVersitProperty & aMatchPropertyA Versit property to match.
TInt aMatchPriorityA match priority.

FindMatch(TVPbkNonVersitFieldType)

const MVPbkFieldType *FindMatch(TVPbkNonVersitFieldTypeaNonVersitType)const [pure virtual]

Returns a matching field type in this list or NULL if no match is found.

A matching field type.

Parameters

TVPbkNonVersitFieldType aNonVersitTypeA non Versit field type to match.

MaxMatchPriority()

TInt MaxMatchPriority()const [pure virtual]

Returns the maximum matching priority held by this field type list.

A maximum match priority.