Special 2-phase recoder object for XML text.
|
|
| mootXMLRecoder (const std::string &src="", const std::string &dst="") |
|
| ~mootXMLRecoder (void) |
|
|
void | scan_request (const std::string &reqstr) |
|
void | scan_request (const std::string &src, const std::string &dst) |
|
|
bool | buffer2file (const char *in, size_t in_size, FILE *out) |
|
bool | string2file (const char *in, 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 | buffer2mstream (const char *in, size_t in_size, mootio::mostream *out) |
|
bool | string2mstream (const char *s, mootio::mostream *out) |
|
bool | string2mstream (const std::string &in, mootio::mostream *out) |
|
◆ mootXMLRecoder()
moot::mootXMLRecoder::mootXMLRecoder |
( |
const std::string & |
src = "" , |
|
|
const std::string & |
dst = "" |
|
) |
| |
|
inline |
◆ ~mootXMLRecoder()
moot::mootXMLRecoder::~mootXMLRecoder |
( |
void |
| ) |
|
|
inline |
◆ scan_request() [1/2]
void moot::mootXMLRecoder::scan_request |
( |
const std::string & |
reqstr | ) |
|
|
inline |
◆ scan_request() [2/2]
void moot::mootXMLRecoder::scan_request |
( |
const std::string & |
src, |
|
|
const std::string & |
dst |
|
) |
| |
|
inline |
◆ buffer2file()
bool moot::mootXMLRecoder::buffer2file |
( |
const char * |
in, |
|
|
size_t |
in_size, |
|
|
FILE * |
out |
|
) |
| |
|
inline |
◆ string2file() [1/2]
bool moot::mootXMLRecoder::string2file |
( |
const char * |
in, |
|
|
FILE * |
out |
|
) |
| |
|
inline |
Recode a C string to a C stream
◆ string2file() [2/2]
bool moot::mootXMLRecoder::string2file |
( |
const std::string & |
in, |
|
|
FILE * |
out |
|
) |
| |
|
inline |
Recode an STL string to a C stream
◆ buffer2buffer()
bool moot::mootXMLRecoder::buffer2buffer |
( |
const char * |
in, |
|
|
size_t |
in_size, |
|
|
char ** |
out, |
|
|
size_t * |
out_used, |
|
|
size_t * |
out_alloc |
|
) |
| |
|
inline |
◆ string2buffer() [1/2]
bool moot::mootXMLRecoder::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::mootXMLRecoder::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::mootXMLRecoder::buffer2string |
( |
const char * |
in, |
|
|
size_t |
in_size, |
|
|
std::string & |
out |
|
) |
| |
|
inline |
◆ string2string() [1/2]
bool moot::mootXMLRecoder::string2string |
( |
const char * |
s, |
|
|
std::string & |
out |
|
) |
| |
|
inline |
Recode a C buffer to an STL string (append)
◆ string2string() [2/2]
bool moot::mootXMLRecoder::string2string |
( |
const std::string & |
in, |
|
|
std::string & |
out |
|
) |
| |
|
inline |
Recode an STL string to an STL string (append)
◆ buffer2mstream()
bool moot::mootXMLRecoder::buffer2mstream |
( |
const char * |
in, |
|
|
size_t |
in_size, |
|
|
mootio::mostream * |
out |
|
) |
| |
|
inline |
◆ string2mstream() [1/2]
bool moot::mootXMLRecoder::string2mstream |
( |
const char * |
s, |
|
|
mootio::mostream * |
out |
|
) |
| |
|
inline |
Recode a C buffer to an STL string (append)
◆ string2mstream() [2/2]
bool moot::mootXMLRecoder::string2mstream |
( |
const std::string & |
in, |
|
|
mootio::mostream * |
out |
|
) |
| |
|
inline |
Recode an STL string to an STL string (append)
◆ standalone
bool moot::mootXMLRecoder::standalone |
◆ rc1
◆ rc2
◆ buf1
char* moot::mootXMLRecoder::buf1 |
◆ buf1_used
size_t moot::mootXMLRecoder::buf1_used |
◆ buf1_alloc
size_t moot::mootXMLRecoder::buf1_alloc |
◆ buf2
char* moot::mootXMLRecoder::buf2 |
◆ buf2_used
size_t moot::mootXMLRecoder::buf2_used |
◆ buf2_alloc
size_t moot::mootXMLRecoder::buf2_alloc |
The documentation for this class was generated from the following file: