Go to the documentation of this file.
25 #if U_SHOW_CPLUSPLUS_API
181 void setText(
const char16_t* newText, int32_t newTextLength);
Basic definitions for ICU, for both C and C++ APIs.
UCharCharacterIterator & operator=(const UCharCharacterIterator &that)
Assignment operator.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
A concrete subclass of CharacterIterator that iterates over the characters (code units or code points...
virtual UClassID getDynamicClassID(void) const override
Return a class ID for this object (not really public)
void * UClassID
UClassID is used to identify classes without using the compiler's RTTI.
Abstract class that defines an API for forward-only iteration on text objects.
virtual UCharCharacterIterator * clone() const override
Returns a new UCharCharacterIterator referring to the same character in the same range of the same st...
UnicodeString text
Copy of the iterated string object.
C++ API: char16_t Character Iterator.
virtual bool operator==(const ForwardCharacterIterator &that) const override
Returns true if the iterators iterate over the same range of the same string and are pointing at the ...
static UClassID getStaticClassID(void)
Return a class ID for this class (not really public)
C++ API: Character Iterator.
A concrete subclass of CharacterIterator that iterates over the characters (code units or code points...
void setText(ConstChar16Ptr newText, int32_t newTextLength)
Sets the iterator to iterate over a new range of text.
virtual void getText(UnicodeString &result) override
Copies the char16_t array under iteration into the UnicodeString referred to by "result".