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