MVPbkContactFindPolicy Class Reference
class MVPbkContactFindPolicy |
Virtual Phonebook contact find policy interface.
Constructor & Destructor Documentation
~MVPbkContactFindPolicy()
~MVPbkContactFindPolicy | ( | ) | [inline, virtual] |
Member Functions Documentation
ContactFindPolicyExtension(TUid)
TAny * | ContactFindPolicyExtension | ( | TUid | | ) | [inline, virtual] |
Returns an extension point for this interface or NULL.
IsWordValidForMatching(const TDesC &)
TBool
| IsWordValidForMatching | ( | const TDesC & | aWord | ) | [pure virtual] |
Checks whether the specified text is valid for matching.
Parameters
const TDesC & aWord | The text to check. |
Match(const TDesC &, const TDesC &)
Checks whether the specified text matches with the specified search string.
Parameters
const TDesC & aText | The text to check. |
const TDesC & aSearchString | Search string. |
MatchContactNameL(const MDesCArray &, const MVPbkBaseContact &)
This is a higer level matching service. Matches contact name to the find words according to the S60 Phonebook rules.
- Exceptions
-
KErrNotSupported |
if the implementation has been constructed only for low level functionality. See construction of CVPbkContactFindPolicy.h
|
Parameters
const MDesCArray & aFindWords | The array of find words. |
const MVPbkBaseContact & aContact | The contact for matching. |
MatchRefineL(const TDesC &, const TDesC &)
TBool
| MatchRefineL | ( | const TDesC & | aText, |
| const TDesC & | aSearchString |
| ) | [pure virtual] |
Checks whether the specified text matches partially with the specified search string. In other words, this method processes pattern matching with the strings.
Parameters
const TDesC & aText | The word to test. |
const TDesC & aSearchString | Search string. |
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.