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.

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()

Parameters

TInt aIndexAn index of a field type.

FieldTypeCount()

TInt FieldTypeCount()const [pure virtual]

Returns the number of field type objects in this list.

FieldTypeListExtension(TUid)

TAny *FieldTypeListExtension(TUid)[inline, virtual]

Returns 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.

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.

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.

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.