106 bool empty()
const {
return str_.empty(); }
#define UExport
Definition Defines.h:65
A UTF-16 string container.
Definition String16.h:35
A UTF-32 string container.
Definition String32.h:20
A UTF-8 string container.
Definition String8.h:20
UTF-8 String container with conversions for UTF-16 and UTF-32.
Definition String.h:21
friend String operator+(String lhs, const String &rhs)
Concatenation operator.
Definition String.h:81
String(const String8 &str)
Create from existing String8 (UTF-8).
String(const char *str)
Create from null-terminated, ASCII C-string.
String(const Char16 *str, size_t len)
Create from raw UTF-16 string with certain length.
String(const char *str, size_t len)
Create from raw, UTF-8 string with certain length.
bool empty() const
Check if string is empty or not.
Definition String.h:106
String()
Create empty string.
String & operator=(const String &other)
Assign string from another, copy is made.
const String8 & utf8() const
Get native UTF-8 string.
Definition String.h:91
String(const String &other)
Copy constructor.
String32 utf32() const
Convert to UTF-32 string.
String(const String16 &str)
Create from existing String16 (UTF-16)
String8 & utf8()
Get native UTF-8 string.
Definition String.h:86
String(const String32 &str)
Create from existing String32 (UTF-32)
String & operator+=(const String &other)
Append string with another.
String16 utf16() const
Convert to UTF-16 string.
detail::selector< sizeof(wchar_t)>::Char16 Char16
Definition String16.h:29