Go to the documentation of this file.
17 #if U_SHOW_CPLUSPLUS_API
24 #if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION
117 virtual void setOffset(int32_t position,
UErrorCode &status) = 0;
127 virtual int32_t getOffset(
void)
const = 0;
166 int32_t getMatchedStart(
void)
const;
182 int32_t getMatchedLength(
void)
const;
328 int32_t following(int32_t position,
UErrorCode &status);
368 int32_t preceding(int32_t position,
UErrorCode &status);
409 virtual void reset();
513 virtual int32_t handleNext(int32_t position,
UErrorCode &status)
535 virtual int32_t handlePrev(int32_t position,
UErrorCode &status)
548 virtual void setMatchLength(int32_t length);
560 virtual void setMatchStart(int32_t position);
566 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, a signed-byte integer.
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
Standard ICU4C error code type, a substitute for exceptions.
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.
USearch * m_search_
C search data struct.