53 char32_t*
data() {
return data_; }
56 const char32_t*
data()
const {
return data_; }
59 size_t length()
const {
return length_; }
62 size_t size()
const {
return length_; }
65 size_t sizeBytes()
const {
return length_ *
sizeof(char32_t); }
68 bool empty()
const {
return !data_ || length_ == 0; }
74 const char32_t&
operator[](
size_t pos)
const {
return data_[pos]; }
#define UExport
Definition Exports.h:25
A null-terminated UTF-16 string container.
Definition String16.h:35
A null-terminated UTF-32 string container.
Definition String32.h:20
const char32_t * data() const
Definition String32.h:56
char32_t & operator[](size_t pos)
Definition String32.h:71
String32(String32 &&other)
size_t size() const
Definition String32.h:62
String32(const String32 &other)
String32(const char32_t *c_str, size_t len)
bool operator!=(const String32 &other) const
bool empty() const
Definition String32.h:68
size_t length() const
Definition String32.h:59
char32_t CharType
Definition String32.h:23
String32 & operator=(String32 &&other)
size_t sizeBytes() const
Definition String32.h:65
friend String32 operator+(String32 lhs, const String32 &rhs)
Definition String32.h:50
bool operator<(const String32 &other) const
const char32_t & operator[](size_t pos) const
Definition String32.h:74
String32 & operator+=(const String32 &other)
char32_t * data()
Definition String32.h:53
String32 & operator=(const String32 &other)
bool operator==(const String32 &other) const
A null-terminated UTF-8 string container.
Definition String8.h:20