CPbkFieldsInfo Class Reference
class CPbkFieldsInfo : public CBase
|
Phonebook field types collection class. 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.
Constructor & Destructor Documentation
CPbkFieldsInfo()
CPbkFieldsInfo
|
(
|
)
|
[private, inline]
|
Member Functions Documentation
AddFieldTypesFromResourceL(TResourceReader &, TResourceReader &, RArray< const CPbkFieldInfo * > *)
Adds fields from resource readers. Doesn't read or link group information.
Parameters
TResourceReader
& aPbkResReader
|
Initialized resource buffer to PHONEBOOK_FIELD_ARRAY
|
TResourceReader
& aCntModelResReader
|
Initialized resource buffer to ARRAY or FIELDs
|
RArray
< const
CPbkFieldInfo
* > * aAddedFieldTypes
|
If not null the field types that were added are appended to this array. The field types are in the order they were defined in resources.
|
ConstructFromResourceL(RResourceFile &, RResourceFile &)
Count()
IMPORT_C
TInt
|
Count
|
(
|
)
|
const
|
Returns the count of field infos.
CreateContactItemFieldDefLC(const CPbkFieldIdArray *)
Creates contact item field definition from an array of Phonebook field ids.
Parameters
const
CPbkFieldIdArray
* aFieldTypes
|
Phonebook field types to add into the returned array. If NULL an array matching all fields is returned.
|
CreateContactItemViewDefLC(const CPbkFieldIdArray &)
Creates a contact item view definition from an array of Phonebook field ids.
Find(TPbkFieldId)
Search field info by Phonebook field id.
Parameters
TPbkFieldId
aFieldId
|
Phonebook field id to search from the array
|
Find(TPbkFieldId, TPbkFieldLocation)
Search field info by Phonebook field id and location
Parameters
TPbkFieldId
aFieldId
|
Phonebook field id to search from the array
|
TPbkFieldLocation
aLocation
|
Field location (home/work/none) to search from the array
|
Find(const CContactItemField &)
Search a field info matching contact model field.
Parameters
const
CContactItemField
& aContactItemField
|
Contact item field whose match is searched from all field info objects.
|
FindGroup(TPbkFieldGroupId)
GroupAt(TInt)
Returns the field info group at aIndex.
GroupCount()
IMPORT_C
TInt
|
GroupCount
|
(
|
)
|
const
|
Returns the count of field info groups.
LinkGroupsL()
void
|
LinkGroupsL
|
(
|
)
|
[private]
|
Match(const CContactItemField &, const TPbkMatchPriorityLevel &)
Match(const MPbkVcardProperty &, const TPbkMatchPriorityLevel &)
NewL(RResourceFile &, RResourceFile &)
Creates and returns an instance of this class intialised from resources.
ReadFieldInfoParamsL()
void
|
ReadFieldInfoParamsL
|
(
|
)
|
[private]
|
ReadGroupsInfoL(RResourceFile &)
void
|
ReadGroupsInfoL
|
(
|
RResourceFile
&
|
aResFile
|
)
|
[private, inline]
|
operator[](TInt)
Returns the aIndex:th field info. Field info objects are sorted by the field presentation ordering.
Parameters
TInt
aIndex
|
The indexed element in this array.
|
Member Data Documentation
RPointerArray< CPbkFieldInfo > iEntries
RPointerArray< CPbkFieldInfoGroup > iGroups
TInt
iHighestMatchPriorityLevel
TInt
|
iHighestMatchPriorityLevel
|
[private]
|
CPbkFieldInfo::TPbkFieldInfoParams * iPbkFieldInfoParams
CPbkUidMap * iTypeUidMap
CPbkUidMap *
|
iTypeUidMap
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.