Go to the documentation of this file.
20 #if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION
114 virtual void setOffset(int32_t position,
UErrorCode &status) = 0;
124 virtual int32_t getOffset(
void)
const = 0;
163 int32_t getMatchedStart(
void)
const;
179 int32_t getMatchedLength(
void)
const;
325 int32_t following(int32_t position,
UErrorCode &status);
365 int32_t preceding(int32_t position,
UErrorCode &status);
406 virtual void reset();
510 virtual int32_t handleNext(int32_t position,
UErrorCode &status)
532 virtual int32_t handlePrev(int32_t position,
UErrorCode &status)
545 virtual void setMatchLength(int32_t length);
557 virtual void setMatchStart(int32_t position);
563 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.