Interface to librecode character-conversion routines.
|
|
| mootRecoder (const std::string &requestString="", bool diacritics_only=false) |
|
| mootRecoder (const std::string &src, const std::string &dst, bool diacritics_only=false) |
|
| ~mootRecoder (void) |
|
void | ensure_outer (void) |
|
|
void | scan_request (const std::string &reqstr, bool diacritics_only=false) |
|
void | scan_request (const std::string &src, const std::string &dst, bool diacritics_only=false) |
|
|
bool | string2file (const char *in, FILE *out) |
|
bool | buffer2file (const char *buf, size_t buflen, FILE *out) |
|
bool | string2file (const std::string &in, FILE *out) |
|
|
bool | buffer2buffer (const char *in, size_t in_size, char **out, size_t *out_used, size_t *out_alloc) |
|
bool | string2buffer (const char *s, char **out, size_t *out_used, size_t *out_alloc) |
|
bool | string2buffer (const std::string &in, char **out, size_t *out_used, size_t *out_alloc) |
|
|
bool | buffer2string (const char *in, size_t in_size, std::string &out) |
|
bool | string2string (const char *s, std::string &out) |
|
bool | string2string (const std::string &in, std::string &out) |
|
|
bool | string2mstream (const char *in, mootio::mostream *out) |
|
bool | buffer2mstream (const char *buf, size_t buflen, mootio::mostream *out) |
|
bool | string2mstream (const std::string &in, mootio::mostream *out) |
|
◆ mootRecoder() [1/2]
moot::mootRecoder::mootRecoder |
( |
const std::string & |
requestString = "" , |
|
|
bool |
diacritics_only = false |
|
) |
| |
|
inline |
Default constructor, given optional request string
◆ mootRecoder() [2/2]
moot::mootRecoder::mootRecoder |
( |
const std::string & |
src, |
|
|
const std::string & |
dst, |
|
|
bool |
diacritics_only = false |
|
) |
| |
|
inline |
Default constructor, given source and destination encodings
◆ ~mootRecoder()
moot::mootRecoder::~mootRecoder |
( |
void |
| ) |
|
|
inline |
◆ ensure_outer()
void moot::mootRecoder::ensure_outer |
( |
void |
| ) |
|
|
inline |
◆ scan_request() [1/2]
void moot::mootRecoder::scan_request |
( |
const std::string & |
reqstr, |
|
|
bool |
diacritics_only = false |
|
) |
| |
|
inline |
◆ scan_request() [2/2]
void moot::mootRecoder::scan_request |
( |
const std::string & |
src, |
|
|
const std::string & |
dst, |
|
|
bool |
diacritics_only = false |
|
) |
| |
|
inline |
Generate and scan a simple request
◆ string2file() [1/2]
bool moot::mootRecoder::string2file |
( |
const char * |
in, |
|
|
FILE * |
out |
|
) |
| |
|
inline |
Recode a C string to a C stream
◆ buffer2file()
bool moot::mootRecoder::buffer2file |
( |
const char * |
buf, |
|
|
size_t |
buflen, |
|
|
FILE * |
out |
|
) |
| |
|
inline |
◆ string2file() [2/2]
bool moot::mootRecoder::string2file |
( |
const std::string & |
in, |
|
|
FILE * |
out |
|
) |
| |
|
inline |
Recode an STL string to a C stream
◆ buffer2buffer()
bool moot::mootRecoder::buffer2buffer |
( |
const char * |
in, |
|
|
size_t |
in_size, |
|
|
char ** |
out, |
|
|
size_t * |
out_used, |
|
|
size_t * |
out_alloc |
|
) |
| |
|
inline |
◆ string2buffer() [1/2]
bool moot::mootRecoder::string2buffer |
( |
const char * |
s, |
|
|
char ** |
out, |
|
|
size_t * |
out_used, |
|
|
size_t * |
out_alloc |
|
) |
| |
|
inline |
Recode a C string to a C buffer
◆ string2buffer() [2/2]
bool moot::mootRecoder::string2buffer |
( |
const std::string & |
in, |
|
|
char ** |
out, |
|
|
size_t * |
out_used, |
|
|
size_t * |
out_alloc |
|
) |
| |
|
inline |
Recode an STL string to a C buffer
◆ buffer2string()
bool moot::mootRecoder::buffer2string |
( |
const char * |
in, |
|
|
size_t |
in_size, |
|
|
std::string & |
out |
|
) |
| |
|
inline |
◆ string2string() [1/2]
bool moot::mootRecoder::string2string |
( |
const char * |
s, |
|
|
std::string & |
out |
|
) |
| |
|
inline |
Recode a C buffer to an STL string
◆ string2string() [2/2]
bool moot::mootRecoder::string2string |
( |
const std::string & |
in, |
|
|
std::string & |
out |
|
) |
| |
|
inline |
Recode an STL string to an STL string
◆ string2mstream() [1/2]
bool moot::mootRecoder::string2mstream |
( |
const char * |
in, |
|
|
mootio::mostream * |
out |
|
) |
| |
|
inline |
◆ buffer2mstream()
bool moot::mootRecoder::buffer2mstream |
( |
const char * |
buf, |
|
|
size_t |
buflen, |
|
|
mootio::mostream * |
out |
|
) |
| |
|
inline |
◆ string2mstream() [2/2]
bool moot::mootRecoder::string2mstream |
( |
const std::string & |
in, |
|
|
mootio::mostream * |
out |
|
) |
| |
|
inline |
◆ rc_outer
RECODE_OUTER moot::mootRecoder::rc_outer |
◆ rc_request
RECODE_REQUEST moot::mootRecoder::rc_request |
◆ rc_reqstr
std::string moot::mootRecoder::rc_reqstr |
The documentation for this class was generated from the following file: