TVPbkStoreContactAnalyzer Class Reference

#include <app/TVPbkStoreContactAnalyzer.h>

class TVPbkStoreContactAnalyzer

Detailed Description

VPbk store contact analyzer.

Constructor & Destructor Documentation

TVPbkStoreContactAnalyzer ( const CVPbkContactManager &, const MVPbkStoreContact * )

IMPORT_CTVPbkStoreContactAnalyzer(const CVPbkContactManager &aContactManager,
const MVPbkStoreContact *aContact
)

Constructor.

ParameterDescription
aContactManagerVirtual Phonebook contact manager.
aContactStore contact.

Member Function Documentation

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

IMPORT_C TIntHasFieldL(VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelectoraFieldTypeSelector,
TIntaStartIndex = 0,
const MVPbkStoreContact *aContact = NULL
)const

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

ParameterDescription
aFieldTypeSelectorPredefined field type selector.
aStartIndexStarts looking up the specified field from this field index.
aContactThe contact to analyze. If NULL the contact got from the constructor is used.

Returns: Field index if contact has field specified in aResId, otherwise KErrNotFound.

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

IMPORT_C TIntHasFieldL(VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelectoraActionTypeSelector,
TIntaStartIndex = 0,
const MVPbkStoreContact *aContact = NULL
)const

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

ParameterDescription
aActionTypeSelectorPredefined contact action type selector.
aStartIndexStarts looking up the specified field from this field index.
aContactThe contact to analyze. If NULL the contact got from the constructor is used.

Returns: Field index if contact has field specified in aResId, otherwise KErrNotFound.

IsFieldTypeIncludedL ( const MVPbkFieldType &, VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector )

IMPORT_C TBoolIsFieldTypeIncludedL(const MVPbkFieldType &aFieldType,
VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelectoraFieldTypeSelector
)const

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

ParameterDescription
aFieldTypeThe field type to check.
aFieldTypeSelectorPredefined field type selector.

Returns: ETrue if the field type is included.

IsFieldTypeIncludedL ( const MVPbkFieldType &, VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector )

IMPORT_C TBoolIsFieldTypeIncludedL(const MVPbkFieldType &aFieldType,
VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelectoraActionTypeSelector
)const

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

ParameterDescription
aFieldTypeThe field type to check.
aActionTypeSelectorPredefined field type selector.

Returns: ETrue if the field type is included.

IsFieldTypeIncludedL ( const MVPbkBaseContactField &, VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector )

IMPORT_C TBoolIsFieldTypeIncludedL(const MVPbkBaseContactField &aField,
VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelectoraFieldTypeSelector
)const

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

ParameterDescription
aFieldThe field whose type to check.
aFieldTypeSelectorSelector's resource id.

Returns: ETrue if the field type is included.

IsFieldTypeIncludedL ( const MVPbkBaseContactField &, VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector )

IMPORT_C TBoolIsFieldTypeIncludedL(const MVPbkBaseContactField &aField,
VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelectoraActionTypeSelector
)const

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

ParameterDescription
aFieldThe field whose type to check.
aActionTypeSelectorSelector's resource id.

Returns: ETrue if the field type is included.

IsFieldTypeSupportedL ( VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelector, const MVPbkStoreContact * )

IMPORT_C TBoolIsFieldTypeSupportedL(VPbkFieldTypeSelectorFactory::TVPbkFieldTypeSelectoraFieldTypeSelector,
const MVPbkStoreContact *aContact = NULL
)const

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

ParameterDescription
aFieldTypeSelectorPredefined field type selector.
aContactThe contact to analyze. If NULL the contact got from constructor is used.

Returns: ETrue if the field type is supported by the contact, otherwise EFalse.

IsFieldTypeSupportedL ( VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelector, const MVPbkStoreContact * )

IMPORT_C TBoolIsFieldTypeSupportedL(VPbkFieldTypeSelectorFactory::TVPbkContactActionTypeSelectoraActionTypeSelector,
const MVPbkStoreContact *aContact = NULL
)const

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

ParameterDescription
aActionTypeSelectorPredefined contact action type selector.
aContactThe contact to analyze. If NULL the contact got from constructor is used.

Returns: ETrue if the action type is supported by the contact, otherwise EFalse.