src
|
#include <enc.h>
Public Types | |
enum | type_t { ASCII, EBCDIC, UCS2, UTF16, UTF32, UTF8 } |
enum | policy_t { POLICY_FAIL, POLICY_SUBSTITUTE, POLICY_IGNORE } |
Public Member Functions | |
Enc () | |
bool | operator!= (const Enc &e) const |
uint32_t | nCodePoints () const |
uint32_t | nCodeUnits () const |
uint32_t | szCodePoint () const |
uint32_t | szCodeUnit () const |
bool | set (type_t t) |
void | unset (type_t) |
type_t | type () const |
void | setPolicy (policy_t t) |
bool | encode (uint32_t &c) const |
uint32_t | decodeUnsafe (uint32_t c) const |
Range * | encodeRange (uint32_t l, uint32_t h) const |
Range * | fullRange () const |
Static Public Member Functions | |
static const char * | name (type_t t) |
enum re2c::Enc::policy_t |
enum re2c::Enc::type_t |
|
inline |
uint32_t re2c::Enc::decodeUnsafe | ( | uint32_t | c | ) | const |
bool re2c::Enc::encode | ( | uint32_t & | c | ) | const |
Definition at line 62 of file enc.cc.
Range * re2c::Enc::encodeRange | ( | uint32_t | l, |
uint32_t | h | ||
) | const |
Range * re2c::Enc::fullRange | ( | ) | const |
|
inlinestatic |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |