87 inline int32_t length()
const;
96 inline char16_t charAt(int32_t offset)
const;
110 inline UChar32 char32At(int32_t offset)
const;
122 virtual void extractBetween(int32_t start,
146 virtual void handleReplaceBetween(int32_t start,
174 virtual void copy(int32_t start, int32_t limit, int32_t dest) = 0;
185 virtual UBool hasMetaData()
const;
227 virtual int32_t getLength()
const = 0;
233 virtual char16_t getCharAt(int32_t offset)
const = 0;
239 virtual UChar32 getChar32At(int32_t offset)
const = 0;
251 return getCharAt(offset);
256 return getChar32At(offset);
Replaceable()
Default constructor.
Replaceable is an abstract base class representing a string of characters that supports the replaceme...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
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.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API.
char16_t charAt(int32_t offset) const
Returns the 16-bit code unit at the given offset into the text.
#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.