Location:
MSVFTEXT.H
Link against: msgs.lib
Link against: msgs_autoshutdown.lib
class CMsvFindText : public CMsgActive;
A utility class which searches through given plain text or rich text for a specified text string.
The class is an active object and searching can be done synchronously or asynchronously. An instance of this class can be re-used to perform multiple searches for text.
CMsgActive
- No description.
CMsvFindText
- A utility class which searches through given plain text or rich text for a specified text string
Defined in CMsvFindText
:
DoComplete()
, DoRunL()
, FindRichTextL()
, FindRichTextL()
, FindTextL()
, FindTextL()
, FoundText()
, NewL()
, NewLC()
, ~CMsvFindText()
static IMPORT_C CMsvFindText *NewLC(TInt aPriority=EPriorityStandard);
Creates a new find text utility object with the specified priority and puts a pointer to the new object onto the cleanup stack.
The function leaves if the object cannot be created.
|
|
static IMPORT_C CMsvFindText *NewL(TInt aPriority=EPriorityStandard);
Creates a new find text utility object with the specified priority.
The function leaves if the object cannot be created.
|
|
IMPORT_C void FindTextL(const TDesC &aFind, const TDesC &aSource, TMsvPartList aFlags, TRequestStatus &aStatus);
Performs an asynchronous search for a text string within another text string.
|
IMPORT_C void FindRichTextL(const TDesC &aFind, const CRichText &aSource, TMsvPartList aFlags, TRequestStatus &aStatus);
Searches for a specified text string within the given rich text asynchronously.
|
IMPORT_C TBool FindTextL(const TDesC &aFind, const TDesC &aSource, TMsvPartList aFlags);
Performs a synchronous search for a text string within another text string.
|
|
IMPORT_C TBool FindRichTextL(const TDesC &aFind, const CRichText &aSource, TMsvPartList aFlags);
Searches for a specified text string within the given rich text synchronously.
|
|
inline TBool FoundText() const;
Returns the result of the asynchronous search for a matching text string.
|
private: virtual void DoRunL();