20 #if !UCONFIG_NO_COLLATION && !UCONFIG_NO_BREAK_ITERATION
124 virtual int32_t getOffset(
void)
const = 0;
163 int32_t getMatchedStart(
void)
const;
179 int32_t getMatchedLength(
void)
const;
400 virtual void reset();
539 virtual void setMatchLength(
int32_t length);
551 virtual void setMatchStart(
int32_t position);
557 void setMatchNotFound();
The BreakIterator class implements methods for finding the location of boundaries in text...
virtual UBool operator==(const SearchIterator &that) const
Equality operator.
UnicodeString m_text_
Unicode string version of the search text.
Abstract class that defines an API for iteration on text objects.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
#define NULL
Define NULL if necessary, to 0 for C++ and to ((void *)0) for C.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UBool operator!=(const SearchIterator &that) const
Not-equal operator.
C++ API: Common ICU base class UObject.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
UObject is the common ICU "boilerplate" class.
BreakIterator * m_breakiterator_
Break iterator.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
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.
USearch * m_search_
C search data struct.
C++ API: Character Iterator.
signed int int32_t
Define 64 bit limits.
int8_t UBool
The ICU boolean type.