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