Ultralight C++ API 1.4.0
|
#include <Ultralight/String32.h>
A null-terminated UTF-32 string container.
Public Types | |
typedef char32_t | CharType |
Public Member Functions | |
String32 () | |
String32 (const char32_t *c_str, size_t len) | |
String32 (const String32 &other) | |
String32 (String32 &&other) | |
~String32 () | |
String32 & | operator= (const String32 &other) |
String32 & | operator= (String32 &&other) |
String32 & | operator+= (const String32 &other) |
char32_t * | data () |
const char32_t * | data () const |
size_t | length () const |
size_t | size () const |
size_t | sizeBytes () const |
bool | empty () const |
char32_t & | operator[] (size_t pos) |
const char32_t & | operator[] (size_t pos) const |
String8 | utf8 () const |
String16 | utf16 () const |
size_t | Hash () const |
bool | operator< (const String32 &other) const |
bool | operator== (const String32 &other) const |
bool | operator!= (const String32 &other) const |
Friends | |
String32 | operator+ (String32 lhs, const String32 &rhs) |
typedef char32_t CharType |
String32 | ( | ) |
String32 | ( | const char32_t * | c_str, |
size_t | len ) |
~String32 | ( | ) |
|
inline |
|
inline |
|
inline |
size_t Hash | ( | ) | const |
|
inline |
bool operator!= | ( | const String32 & | other | ) | const |
bool operator< | ( | const String32 & | other | ) | const |
bool operator== | ( | const String32 & | other | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
String16 utf16 | ( | ) | const |
String8 utf8 | ( | ) | const |