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 |
Utf8Stream::Utf8Stream | ( | Point | begin, |
Point | end | ||
) | [inline] |
Utf8Stream::Utf8Stream | ( | std::pair< Point, Point > | range | ) | [inline] |
UnicodeChar Utf8Stream::consume | ( | ) | [inline] |
Point Utf8Stream::current | ( | ) | const [inline] |
static std::pair<UnicodeChar, Point> Utf8Stream::decode | ( | Point | cur, |
Point | end | ||
) | [inline, static] |
bool Utf8Stream::eof | ( | ) | const [inline] |
void Utf8Stream::next | ( | ) | [inline, private] |
static std::pair<int, UnicodeChar> Utf8Stream::octet_count | ( | unsigned char | octet | ) | [inline, static, private] |
UnicodeChar Utf8Stream::peek | ( | ) | [inline] |
static UnicodeChar Utf8Stream::sBadChar | ( | ) | [inline, static] |
Point Utf8Stream::cur [private] |
Point Utf8Stream::end [private] |
Point Utf8Stream::nxt [private] |
UnicodeChar Utf8Stream::val [private] |