#include <app/MVPbkFieldType.h>
| class MVPbkFieldTypeList |
| Public Member Functions | |
|---|---|
| virtual | ~MVPbkFieldTypeList() |
| pure virtual TBool | ContainsSame(const MVPbkFieldType &) |
| pure virtual const MVPbkFieldType & | FieldTypeAt(TInt) |
| pure virtual TInt | FieldTypeCount() |
| virtual TAny * | FieldTypeListExtension(TUid) |
| virtual const MVPbkFieldType * | Find(TInt) |
| pure virtual const MVPbkFieldType * | FindMatch(const TVPbkFieldVersitProperty &, TInt) |
| pure virtual const MVPbkFieldType * | FindMatch(TVPbkNonVersitFieldType) |
| pure virtual TInt | MaxMatchPriority() |
An interface for a list of field types.
| TBool | ContainsSame | ( | const MVPbkFieldType & | aFieldType | ) | const [pure virtual] |
Returns true if this list contains aFieldType.
| Parameter | Description |
|---|---|
| aFieldType | The field type to look for. |
Returns: ETrue if the list contains the field type.
| 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()
| Parameter | Description |
|---|---|
| aIndex | An index of a field type. |
Returns: A reference to Virtual Phonebook field type. The reference is valid for the lifetime of this object.
| TInt | FieldTypeCount | ( | ) | const [pure virtual] |
Returns the number of field type objects in this list.
Returns: A number of field types.
| 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.
Returns: The corresponding field type.
| 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.
| Parameter | Description |
|---|---|
| aMatchProperty | A Versit property to match. |
| aMatchPriority | A match priority. |
Returns: A matching field type.
| const MVPbkFieldType * | FindMatch | ( | TVPbkNonVersitFieldType | aNonVersitType | ) | const [pure virtual] |
Returns a matching field type in this list or NULL if no match is found.
| Parameter | Description |
|---|---|
| aNonVersitType | A non Versit field type to match. |
Returns: A matching field type.
| TInt | MaxMatchPriority | ( | ) | const [pure virtual] |
Returns the maximum matching priority held by this field type list.
Returns: A maximum match priority.