34 #if U_SHOW_CPLUSPLUS_API 36 #if UCONFIG_NO_BREAK_ITERATION 224 DONE =
static_cast<int32_t
>(-1)
232 virtual int32_t first() = 0;
239 virtual int32_t last() = 0;
247 virtual int32_t previous() = 0;
255 virtual int32_t next() = 0;
262 virtual int32_t current()
const = 0;
272 virtual int32_t following(int32_t offset) = 0;
282 virtual int32_t preceding(int32_t offset) = 0;
292 virtual UBool isBoundary(int32_t offset) = 0;
303 virtual int32_t next(int32_t n) = 0;
318 virtual int32_t getRuleStatus()
const;
348 virtual int32_t getRuleStatusVec(int32_t *fillInVec, int32_t capacity,
UErrorCode &status);
439 #ifndef U_HIDE_DEPRECATED_API 475 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
487 const Locale& displayLocale,
501 #ifndef U_FORCE_HIDE_DEPRECATED_API 524 #endif // U_FORCE_HIDE_DEPRECATED_API 526 #ifndef U_HIDE_DEPRECATED_API 534 inline UBool isBufferClone();
538 #if !UCONFIG_NO_SERVICE 589 #ifndef U_HIDE_INTERNAL_API 631 friend class ICUBreakIteratorFactory;
632 friend class ICUBreakIteratorService;
641 #ifndef U_HIDE_INTERNAL_API 651 CharString* actualLocale =
nullptr;
652 CharString* validLocale =
nullptr;
653 CharString* requestLocale =
nullptr;
656 #ifndef U_HIDE_DEPRECATED_API 658 inline UBool BreakIterator::isBufferClone()
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
UBreakIteratorType
The possible types of text boundaries.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
C API: Miscellaneous definitions.
Base class for 'pure' C++ implementations of uenum api.
C API: Abstract Unicode Text API.
bool operator!=(const BreakIterator &rhs) const
Returns the complement of the result of operator==.
Abstract class that defines an API for iteration on text objects.
The BreakIterator class implements methods for finding the location of boundaries in text...
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
C++ API: Common ICU base class UObject.
const void * URegistryKey
Opaque type returned by registerInstance, registerFactory and unregister for service registration...
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
ULocDataLocaleType
Constants for *_getLocale() Allow user to select whether she wants information on requested...
C++ API: String Enumeration.
C++ API: Locale ID object.
Basic definitions for ICU, for both C and C++ APIs.
#define U_COMMON_API
Set to export library symbols from inside the common library, and to import them from outside...
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Character Iterator.
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type, a signed-byte integer.
A Locale object represents a specific geographical, political, or cultural region.