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