132 bool empty()
const {
return str_.empty(); }
#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
A null-terminated UTF-8 string container.
Definition String8.h:20
Unicode string container with conversions for UTF-8, UTF-16, and UTF-32.
Definition String.h:34
String & operator=(const String &other)
Assign string from another, copy is made.
friend String operator+(String lhs, const String &rhs)
Concatenation operator.
Definition String.h:104
String & operator+=(const String &other)
Append string with another.
String(const String32 &str)
Create from existing String32 (UTF-32)
String(String &&other)
Move constructor.
bool operator==(const String &other) const
Equality operator.
String(const String &other)
Copy constructor.
bool operator!=(const String &other) const
Inequality operator.
String16 utf16() const
Convert to UTF-16 string.
String8 & utf8()
Get native UTF-8 string.
Definition String.h:112
bool empty() const
Check if string is empty or not.
Definition String.h:132
bool operator<(const String &other) const
Comparison operator.
const String8 & utf8() const
Get native UTF-8 string.
Definition String.h:117
String & operator=(String &&other)
Move assignment operator.
String32 utf32() const
Convert to UTF-32 string.
String(const char *str, size_t len)
Create from raw, UTF-8 string with certain length.
String(const String16 &str)
Create from existing String16 (UTF-16)
String()
Create empty string.
size_t Hash() const
Hash function.
String(const String8 &str)
Create from existing String8 (UTF-8).
String(const Char16 *str, size_t len)
Create from raw UTF-16 string with certain length.
String(const char *str)
Create from null-terminated, ASCII C-string.
detail::selector< sizeof(wchar_t)>::Char16 Char16
Definition String16.h:29