ReactOS 0.4.16-dev-963-g182f353
|
Public Types | |
enum | enc_types { detect , utf8 , utf16le , utf16be , utf32le , utf32be } |
enum | err_types { none , iopen , oopen , eof , read , write , decode } |
enum | bom_types { bom , nobom } |
Public Member Functions | |
utf_converter (string ifname, string ofname, bom_types ofbom=bom, enc_types enc=detect) | |
err_types | getError () |
enc_types | getBOM () |
std::streamsize | getByte (unsigned char &c) |
std::streamsize | getWord (unsigned short &w) |
std::streamsize | getDWord (wchar_t &d) |
wchar_t | get_wchar_t () |
void | convert2utf16le () |
~utf_converter () | |
Protected Attributes | |
err_types | error |
enc_types | encoding |
bom_types | bom_type |
unsigned char | buffer [4] |
unsigned char | index |
std::streamsize | fill |
fstream | inputfile |
fstream | outputfile |
Static Protected Attributes | |
static const unsigned char | utf8table [64] |
Definition at line 26 of file utf16le.cpp.
|
inline |
Definition at line 43 of file utf16le.cpp.
|
inline |
Definition at line 258 of file utf16le.cpp.
|
inline |
Definition at line 239 of file utf16le.cpp.
Referenced by main().
|
inline |
Definition at line 178 of file utf16le.cpp.
Referenced by convert2utf16le().
|
inline |
Definition at line 71 of file utf16le.cpp.
Referenced by utf_converter().
Definition at line 139 of file utf16le.cpp.
Referenced by get_wchar_t(), getDWord(), and getWord().
|
inline |
Definition at line 166 of file utf16le.cpp.
Referenced by get_wchar_t().
|
inline |
|
protected |
Definition at line 37 of file utf16le.cpp.
Referenced by convert2utf16le().
Definition at line 38 of file utf16le.cpp.
|
protected |
Definition at line 36 of file utf16le.cpp.
Referenced by get_wchar_t(), getDWord(), getWord(), and utf_converter().
|
protected |
Definition at line 35 of file utf16le.cpp.
Referenced by getError(), and utf_converter().
|
protected |
Definition at line 39 of file utf16le.cpp.
Definition at line 38 of file utf16le.cpp.
|
protected |
Definition at line 40 of file utf16le.cpp.
Referenced by convert2utf16le(), getBOM(), getByte(), utf_converter(), and ~utf_converter().
|
protected |
Definition at line 40 of file utf16le.cpp.
Referenced by convert2utf16le(), utf_converter(), and ~utf_converter().
Definition at line 41 of file utf16le.cpp.
Referenced by get_wchar_t().