21 #if U_SHOW_CPLUSPLUS_API 91 inline int32_t length()
const;
100 inline char16_t charAt(int32_t offset)
const;
114 inline UChar32 char32At(int32_t offset)
const;
126 virtual void extractBetween(int32_t start,
150 virtual void handleReplaceBetween(int32_t start,
178 virtual void copy(int32_t start, int32_t limit, int32_t dest) = 0;
189 virtual UBool hasMetaData()
const;
228 virtual int32_t getLength()
const = 0;
234 virtual char16_t getCharAt(int32_t offset)
const = 0;
240 virtual UChar32 getChar32At(int32_t offset)
const = 0;
252 return getCharAt(offset);
257 return getChar32At(offset);
Replaceable()
Default constructor.
Replaceable is an abstract base class representing a string of characters that supports the replaceme...
int32_t length() const
Returns the number of 16-bit code units in the text.
UChar32 char32At(int32_t offset) const
Returns the 32-bit code point at the given 16-bit offset into the text.
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
C++ API: Common ICU base class UObject.
char16_t charAt(int32_t offset) const
Returns the 16-bit code unit at the given offset into the text.
Basic definitions for ICU, for both C and C++ APIs.
#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.