#include <EbmlUnicodeString.h>
Public Types | |
typedef wchar_t | value_type |
Public Member Functions | |
UTFstring (const wchar_t *) | |
UTFstring (const UTFstring &) | |
bool | operator== (const UTFstring &) const |
bool | operator!= (const UTFstring &cmp) const |
UTFstring & | operator= (const UTFstring &) |
UTFstring & | operator= (const wchar_t *) |
UTFstring & | operator= (wchar_t) |
size_t | length () const |
Return length of string. | |
operator const wchar_t * () const | |
const wchar_t * | c_str () const |
const std::string & | GetUTF8 () const |
void | SetUTF8 (const std::string &) |
Protected Member Functions | |
void | UpdateFromUTF8 () |
void | UpdateFromUCS2 () |
Static Protected Member Functions | |
static bool | wcscmp_internal (const wchar_t *str1, const wchar_t *str2) |
Protected Attributes | |
size_t | _Length |
length of the UCS string excluding the | |
wchar_t * | _Data |
internal UCS representation | |
std::string | UTF8string |
A class storing strings in a wchar_t (ie, in UCS-2 or UCS-4)
void UTFstring::UpdateFromUTF8 | ( | ) | [protected] |