OpenMW
|
#include <utf8stream.hpp>
Public Types | |
typedef uint32_t | UnicodeChar |
typedef unsigned char const * | Point |
Public Member Functions | |
Utf8Stream (Point begin, Point end) | |
Utf8Stream (std::pair< Point, Point > range) | |
bool | eof () const |
Point | current () const |
UnicodeChar | peek () |
UnicodeChar | consume () |
Static Public Member Functions | |
static UnicodeChar | sBadChar () |
static std::pair< UnicodeChar, Point > | decode (Point cur, Point end) |
Private Member Functions | |
void | next () |
Static Private Member Functions | |
static std::pair< int, UnicodeChar > | octet_count (unsigned char octet) |
Private Attributes | |
Point | cur |
Point | nxt |
Point | end |
UnicodeChar | val |
typedef unsigned char const* Utf8Stream::Point |
typedef uint32_t Utf8Stream::UnicodeChar |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inlineprivate |
|
inlinestaticprivate |
|
inline |
|
inlinestatic |
|
private |
|
private |
|
private |
|
private |