![Symbian Developer Library](../../../../a_stock/images/mainheading.gif)
![]() |
![]() |
|
class RIncrMatcherPtr : public RIncrMatcherBase;
Incrementally matches text against a descriptor, accessed via a pointer.
The class does not take a copy of the text to match against, but only stores the pointer.
RIncrMatcherBase
- Base class for incremental matcher classes.
RIncrMatcherPtr
- Incrementally matches text against a descriptor, accessed via a pointer.
Defined in RIncrMatcherPtr
:
MatchDes()
Gets the match text.MatchDes()const
Gets the match text.RIncrMatcherPtr()
Default constructor. RIncrMatcherPtr(TDes &)
Constructor that initialises the object with the text to be matched against.SetMatcherPtr(TDes &)
Sets the text to be matched against.~RIncrMatcherPtr()
Destructor. Inherited from RIncrMatcherBase
:
AppendChar(TChar)
Appends a character to the end of the match text.Clear()
Clears the match text. DeleteLastChar()
Deletes the final character in the match text. FirstMatchingIndex(TInt &,const MDesC16Array &,TInt)const
Finds the first match in an array, using a binary comparison.FirstMatchingIndexC(TInt &,const MDesC16Array &,TInt)const
Finds the first match in an array, using locale collation rules.FirstMatchingIndexF(TInt &,const MDesC16Array &,TInt)const
Finds the first match in an array, using locale folding rules.IsMatch(const TDesC &)const
Tests for match, using a binary comparison.IsMatchC(const TDesC &)const
Tests for match, using locale collation rules.IsMatchF(const TDesC &)const
Tests for match, using locale folding rules.MatchLength()const
Gets the current length of the match text buffer. MatchText()const
Gets the match text as a TPtrC. MaxLength()const
Gets the maximum length of the match text buffer. SetBestMatch(const TDesC &)
Sets the match text to the best match between the match text and the passed buff...SetBestMatchC(const TDesC &)
Sets the match text to the best match between the match text and the passed buff...SetBestMatchF(const TDesC &)
Sets the match text to the best match between the match text and the passed buff...SetMatchText(const TDesC &)
Sets the match text.IMPORT_C RIncrMatcherPtr(TDes &aDes);
Constructor that initialises the object with the text to be matched against.
|
inline void SetMatcherPtr(TDes &aDes);
Sets the text to be matched against.
|
protected: IMPORT_C virtual TDes& MatchDes();
Gets the match text.
|
protected: IMPORT_C virtual const TDes& MatchDes() const;
Gets the match text.
|