TVPbkStoreContactAnalyzer Class Reference

class TVPbkStoreContactAnalyzer

VPbk store contact analyzer.

Constructor & Destructor Documentation

TVPbkStoreContactAnalyzer(const CVPbkContactManager &, const MVPbkStoreContact *)

IMPORT_C TVPbkStoreContactAnalyzer ( const CVPbkContactManager & aContactManager,
const MVPbkStoreContact * aContact
)

Constructor.

Parameters

const CVPbkContactManager & aContactManager Virtual Phonebook contact manager.
const MVPbkStoreContact * aContact Store contact.

TVPbkStoreContactAnalyzer()

TVPbkStoreContactAnalyzer ( ) [private]

Member Functions Documentation

HasFieldL(VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector, TInt, const MVPbkStoreContact *)

IMPORT_C TInt HasFieldL ( VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector,
TInt aStartIndex = 0,
const MVPbkStoreContact * aContact = NULL
) const

Analyses if the contact has a field with type specified in aFieldTypeSelector.

Parameters

VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector Predefined field type selector.
TInt aStartIndex = 0 Starts looking up the specified field from this field index.
const MVPbkStoreContact * aContact = NULL The contact to analyze. If NULL the contact got from the constructor is used.

HasFieldL(VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector, TInt, const MVPbkStoreContact *)

IMPORT_C TInt HasFieldL ( VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector,
TInt aStartIndex = 0,
const MVPbkStoreContact * aContact = NULL
) const

Analyses if the contact has a action type with type specified in aActionTypeSelector.

Parameters

VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector Predefined contact action type selector.
TInt aStartIndex = 0 Starts looking up the specified field from this field index.
const MVPbkStoreContact * aContact = NULL The contact to analyze. If NULL the contact got from the constructor is used.

IsFieldTypeIncludedL(const MVPbkFieldType &, VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector)

IMPORT_C TBool IsFieldTypeIncludedL ( const MVPbkFieldType & aFieldType,
VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector
) const

Checks if the aFieldType is same as specified in aFieldTypeSelector. Returns ETrue is same, otherwise EFalse.

Parameters

const MVPbkFieldType & aFieldType The field type to check.
VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector Predefined field type selector.

IsFieldTypeIncludedL(const MVPbkFieldType &, VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector)

IMPORT_C TBool IsFieldTypeIncludedL ( const MVPbkFieldType & aFieldType,
VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector
) const

Checks if the aFieldType is same as specified in aActionTypeSelector. Returns ETrue is same, otherwise EFalse.

Parameters

const MVPbkFieldType & aFieldType The field type to check.
VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector Predefined field type selector.

IsFieldTypeIncludedL(const MVPbkBaseContactField &, VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector)

IMPORT_C TBool IsFieldTypeIncludedL ( const MVPbkBaseContactField & aField,
VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector
) const

Checks if the aField's field type is same as specified in aFieldTypeSelector. Returns ETrue is same, otherwise EFalse.

Parameters

const MVPbkBaseContactField & aField The field whose type to check.
VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector Selector's resource id.

IsFieldTypeIncludedL(const MVPbkBaseContactField &, VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector)

IMPORT_C TBool IsFieldTypeIncludedL ( const MVPbkBaseContactField & aField,
VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector
) const

Checks if the aField's field type is same as specified in aActionTypeSelector. Returns ETrue is same, otherwise EFalse.

Parameters

const MVPbkBaseContactField & aField The field whose type to check.
VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector Selector's resource id.

IsFieldTypeSupportedL(VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector, const MVPbkStoreContact *)

IMPORT_C TBool IsFieldTypeSupportedL ( VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector,
const MVPbkStoreContact * aContact = NULL
) const

Analyses if the contact supports field with type specified in aFieldTypeSelector.

Parameters

VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector aFieldTypeSelector Predefined field type selector.
const MVPbkStoreContact * aContact = NULL The contact to analyze. If NULL the contact got from constructor is used.

IsFieldTypeSupportedL(VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector, const MVPbkStoreContact *)

IMPORT_C TBool IsFieldTypeSupportedL ( VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector,
const MVPbkStoreContact * aContact = NULL
) const

Analyses if the contact supports action types with type specified in aActionTypeSelector.

Parameters

VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector aActionTypeSelector Predefined contact action type selector.
const MVPbkStoreContact * aContact = NULL The contact to analyze. If NULL the contact got from constructor is used.

Member Data Documentation

const MVPbkStoreContact * iContact

const MVPbkStoreContact * iContact [private]

const CVPbkContactManager & iContactManager

const CVPbkContactManager & iContactManager [private]