class USetCodePoints
Defined at line 1427 of file ../../third_party/icu/latest/source/common/unicode/uset.h
C++ "range" for iterating over the code points of a USet.
C++ UnicodeSet has member functions for iteration, including codePoints().
ICU 76
Code
using U_HEADER_NESTED_NAMESPACE::USetCodePoints;
LocalUSetPointer uset(uset_openPattern(u"[abcçカ🚴]", -1, &errorCode));
for (UChar32 c : USetCodePoints(uset.getAlias())) {
printf("uset.codePoint U+%04lx\n", (long)c);
}
Public Methods
void USetCodePoints (const USet * pUset)
Constructs a C++ "range" object over the code points of the USet.
ICU 76
Defined at line 1433 of file ../../third_party/icu/latest/source/common/unicode/uset.h
void USetCodePoints (const USetCodePoints & other)
ICU 76
Defined at line 1436 of file ../../third_party/icu/latest/source/common/unicode/uset.h
USetCodePointIterator begin ()
ICU 76
Defined at line 1439 of file ../../third_party/icu/latest/source/common/unicode/uset.h
USetCodePointIterator end ()
ICU 76
Defined at line 1444 of file ../../third_party/icu/latest/source/common/unicode/uset.h