14 #if U_SHOW_CPLUSPLUS_API
73 enum { IS_STRING = -1 };
137 inline UBool isString()
const;
144 inline UChar32 getCodepoint()
const;
152 inline UChar32 getCodepointEnd()
const;
167 #ifndef U_HIDE_DRAFT_API
184 #endif // U_HIDE_DRAFT_API
251 static UClassID U_EXPORT2 getStaticClassID();
305 void loadRange(int32_t range);
308 inline UBool UnicodeSetIterator::isString()
const {
309 return codepoint < 0;
312 inline UChar32 UnicodeSetIterator::getCodepoint()
const {
316 inline UChar32 UnicodeSetIterator::getCodepointEnd()
const {
virtual UClassID getDynamicClassID() const
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
UnicodeSetIterator iterates over the contents of a UnicodeSet.
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
A mutable set of Unicode characters and multicharacter strings.
C++ API: Common ICU base class UObject.
#define U_FINAL
Defined to the C++11 "final" keyword if available.
Basic definitions for ICU, for both C and C++ APIs.
UnicodeSetIterator & skipToStrings()
Skips over the remaining code points/ranges, if any.
#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...
UObject is the common ICU "boilerplate" class.
int8_t UBool
The ICU boolean type, a signed-byte integer.