30 #if UCONFIG_NO_BREAK_ITERATION
215 virtual int32_t first(
void) = 0;
222 virtual int32_t last(
void) = 0;
230 virtual int32_t previous(
void) = 0;
238 virtual int32_t next(
void) = 0;
245 virtual int32_t current(
void)
const = 0;
255 virtual int32_t following(int32_t offset) = 0;
265 virtual int32_t preceding(int32_t offset) = 0;
275 virtual UBool isBoundary(int32_t offset) = 0;
286 virtual int32_t next(int32_t n) = 0;
411 static const Locale* U_EXPORT2 getAvailableLocales(int32_t& count);
423 const Locale& displayLocale,
464 inline UBool isBufferClone(
void);
466 #if !UCONFIG_NO_SERVICE
511 #ifndef U_HIDE_INTERNAL_API
553 friend class ICUBreakIteratorFactory;
554 friend class ICUBreakIteratorService;
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
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.
#define ULOC_FULLNAME_CAPACITY
Useful constant for the maximum size of the whole locale ID (including the terminating NULL and all k...
Base class for 'pure' C++ implementations of uenum api.
C API: Abstract Unicode Text API.
BreakIterator(const BreakIterator &other)
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
Abstract class that defines an API for iteration on text objects.
The BreakIterator class implements methods for finding the location of boundaries in text...
UBool isBufferClone(void)
Determine whether the BreakIterator was created in user memory by createBufferClone(), and thus should not be deleted.
UBool operator!=(const BreakIterator &rhs) const
Returns the complement of the result of operator==.
C++ API: Common ICU base class UObject.
const void * URegistryKey
Opaque type returned by registerInstance, registerFactory and unregister for service registration...
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
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 FALSE
The FALSE value of a UBool.
#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 Locale object represents a specific geographical, political, or cultural region.