Go to the documentation of this file.
34 #if U_SHOW_CPLUSPLUS_API
36 #if UCONFIG_NO_BREAK_ITERATION
231 virtual int32_t first(
void) = 0;
238 virtual int32_t last(
void) = 0;
246 virtual int32_t previous(
void) = 0;
254 virtual int32_t next(
void) = 0;
261 virtual int32_t current(
void)
const = 0;
271 virtual int32_t following(int32_t offset) = 0;
281 virtual int32_t preceding(int32_t offset) = 0;
291 virtual UBool isBoundary(int32_t offset) = 0;
302 virtual int32_t next(int32_t n) = 0;
317 virtual int32_t getRuleStatus()
const;
347 virtual int32_t getRuleStatusVec(int32_t *fillInVec, int32_t capacity,
UErrorCode &status);
438 #ifndef U_HIDE_DEPRECATED_API
474 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
486 const Locale& displayLocale,
500 #ifndef U_FORCE_HIDE_DEPRECATED_API
523 #endif // U_FORCE_HIDE_DEPRECATED_API
525 #ifndef U_HIDE_DEPRECATED_API
533 inline UBool isBufferClone(
void);
537 #if !UCONFIG_NO_SERVICE
588 #ifndef U_HIDE_INTERNAL_API
630 friend class ICUBreakIteratorFactory;
631 friend class ICUBreakIteratorService;
640 #ifndef U_HIDE_INTERNAL_API
654 #ifndef U_HIDE_DEPRECATED_API
656 inline UBool BreakIterator::isBufferClone()
#define FALSE
The FALSE value of a UBool.
The BreakIterator class implements methods for finding the location of boundaries in text.
Basic definitions for ICU, for both C and C++ APIs.
int8_t UBool
The ICU boolean type.
ULocDataLocaleType
Constants for *_getLocale() Allow user to select whether she wants information on requested,...
U_EXPORT UBool operator==(const StringPiece &x, const StringPiece &y)
Global operator == for StringPiece.
C API: Abstract Unicode Text API.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
UObject is the common ICU "boilerplate" class.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
UErrorCode
Standard ICU4C error code type, a substitute for exceptions.
Base class for 'pure' C++ implementations of uenum api.
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
UBreakIteratorType
The possible types of text boundaries.
UBool operator!=(const BreakIterator &rhs) const
Returns the complement of the result of operator==.
Abstract class that defines an API for iteration on text objects.
#define ULOC_FULLNAME_CAPACITY
Useful constant for the maximum size of the whole locale ID (including the terminating NULL and all k...
C++ API: String Enumeration.
C++ API: Character Iterator.
C++ API: Locale ID object.
C++ API: Common ICU base class UObject.
A Locale object represents a specific geographical, political, or cultural region.
const typedef void * URegistryKey
Opaque type returned by registerInstance, registerFactory and unregister for service registration.