API published in: S60 1st Ed
API deprecated in: S60 5th Ed
Link against: pbkeng.lib
Required Capabilities
ReadUserData WriteUserData
#include <cpbkfieldsinfo.h>
The collection contains CPbkFieldInfo objects that contain Phonebook specific field type information. Each field Phonebook recognizes is associated with field info object. The field info objects are references to elements in this array.
Public Member Functions |
|
~CPbkFieldsInfo () | |
Destructor. |
|
IMPORT_C CPbkFieldInfo * | Find (TPbkFieldId aFieldId) const |
Search field info by Phonebook field id. |
|
IMPORT_C CPbkFieldInfo * | Find (TPbkFieldId aFieldId, TPbkFieldLocation aLocation) const |
Search field info by Phonebook field id and location. |
|
IMPORT_C CPbkFieldInfo * | Find (const CContactItemField &aContactItemField) const |
Search a field info matching contact model field. |
|
IMPORT_C TPbkMatchPriorityLevel | CreateMatchPriority () const |
CPbkFieldInfo * | Match (const CContactItemField &aContactItemField, const TPbkMatchPriorityLevel &aMatchPriority) const |
IMPORT_C CPbkFieldInfo * | Match (const MPbkVcardProperty &aVcardProperty, const TPbkMatchPriorityLevel &aMatchPriority) const |
IMPORT_C TInt | Count () const |
Returns the count of field infos. |
|
IMPORT_C CPbkFieldInfo * | operator[] (TInt aIndex) const |
Returns the aIndex:th field info. |
|
IMPORT_C TInt | GroupCount () const |
Returns the count of field info groups. |
|
IMPORT_C const CPbkFieldInfoGroup & | GroupAt (TInt aIndex) const |
Returns the field info group at aIndex. |
|
IMPORT_C CContactItemViewDef * | CreateContactItemViewDefLC (const CPbkFieldIdArray &aFieldTypes) const |
Creates a contact item view definition from an array of Phonebook field ids. |
|
IMPORT_C CContactItemFieldDef * | CreateContactItemFieldDefLC (const CPbkFieldIdArray *aFieldTypes) const |
Creates contact item field definition from an array of Phonebook field ids. |
|
void | AddFieldTypesFromResourceL (TResourceReader &aPbkResReader, TResourceReader &aCntModelResReader, RArray< const CPbkFieldInfo * > *aAddedFieldTypes) |
Adds fields from resource readers. |
|
Static Public Member Functions |
|
static CPbkFieldsInfo * | NewL (RResourceFile &aPbkResFile, RResourceFile &aCntModelResFile) |
Creates and returns an instance of this class intialised from resources. |
|
Destructor. |
|
Adds fields from resource readers. Doesn't read or link group information.
|
|
Returns the count of field infos.
|
|
Creates contact item field definition from an array of Phonebook field ids.
|
|
Creates a contact item view definition from an array of Phonebook field ids.
|
|
|
Search a field info matching contact model field.
|
|
Search field info by Phonebook field id and location.
|
|
Search field info by Phonebook field id.
|
|
Returns the field info group at aIndex.
|
|
Returns the count of field info groups.
|
|
|
|
Creates and returns an instance of this class intialised from resources.
|
|
Returns the aIndex:th field info. Field info objects are sorted by the field presentation ordering.
|