Go to the documentation of this file.
22 #if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION
116 virtual void setOffset(int32_t position,
UErrorCode &status) = 0;
126 virtual int32_t getOffset(
void)
const = 0;
165 int32_t getMatchedStart(
void)
const;
181 int32_t getMatchedLength(
void)
const;
327 int32_t following(int32_t position,
UErrorCode &status);
367 int32_t preceding(int32_t position,
UErrorCode &status);
408 virtual void reset();
512 virtual int32_t handleNext(int32_t position,
UErrorCode &status)
534 virtual int32_t handlePrev(int32_t position,
UErrorCode &status)
547 virtual void setMatchLength(int32_t length);
559 virtual void setMatchStart(int32_t position);
565 void setMatchNotFound();
BreakIterator * m_breakiterator_
Break iterator.
The BreakIterator class implements methods for finding the location of boundaries in text.
SearchIterator is an abstract base class that provides methods to search for a pattern within a text ...
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers,...
UBool operator!=(const StringPiece &x, const StringPiece &y)
Global operator != for StringPiece.
Abstract class that defines an API for iteration on text objects.
UnicodeString m_text_
Unicode string version of the search text.
C++ API: Character Iterator.
C++ API: Common ICU base class UObject.
#define U_NAMESPACE_BEGIN
USearch * m_search_
C search data struct.