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 & aFieldType The field type to look for.

FieldTypeAt(TInt)

const MVPbkFieldType & FieldTypeAt ( TInt aIndex ) const [pure virtual]

Returns the field type object at aIndex.

The objects are not in any specific order.

aIndex >= 0 && aIndex < FieldTypeCount()

Parameters

TInt aIndex An 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,
TInt aMatchPriority
) const [pure virtual]

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

Parameters

const TVPbkFieldVersitProperty & aMatchProperty A Versit property to match.
TInt aMatchPriority A match priority.

FindMatch(TVPbkNonVersitFieldType)

const MVPbkFieldType * FindMatch ( TVPbkNonVersitFieldType aNonVersitType ) const [pure virtual]

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

Parameters

TVPbkNonVersitFieldType aNonVersitType A non Versit field type to match.

MaxMatchPriority()

TInt MaxMatchPriority ( ) const [pure virtual]

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