ReactOS
0.4.15-dev-5608-gafb953a
|
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.
Enumerator | |
---|---|
bom | |
nobom |
Definition at line 33 of file utf16le.cpp.
Enumerator | |
---|---|
detect | |
utf8 | |
utf16le | |
utf16be | |
utf32le | |
utf32be |
Definition at line 31 of file utf16le.cpp.
Enumerator | |
---|---|
none | |
iopen | |
oopen | |
eof | |
read | |
write | |
decode |
Definition at line 32 of file utf16le.cpp.
|
inline |
Definition at line 43 of file utf16le.cpp.
|
inline |
Definition at line 258 of file utf16le.cpp.
|
inline |
|
inline |
Definition at line 178 of file utf16le.cpp.
|
inline |
Definition at line 71 of file utf16le.cpp.
|
inline |
Definition at line 139 of file utf16le.cpp.
|
inline |
Definition at line 166 of file utf16le.cpp.
|
inline |
Definition at line 67 of file utf16le.cpp.
Referenced by main().
|
inline |
Definition at line 153 of file utf16le.cpp.
|
protected |
Definition at line 37 of file utf16le.cpp.
Definition at line 38 of file utf16le.cpp.
|
protected |
Definition at line 36 of file utf16le.cpp.
|
protected |
Definition at line 35 of file utf16le.cpp.
|
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.
|
protected |
Definition at line 40 of file utf16le.cpp.
Definition at line 41 of file utf16le.cpp.