Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

moot::mootXMLRecoder Class Reference

Special 2-phase recoder object for XML text.

#include <mootRecode.h>

Collaboration diagram for moot::mootXMLRecoder:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructors etc.
Requests
Recoding: *2file()
Recoding: *2buffer()
Recoding: *2string()
Recoding: *2mstream()

Public Attributes


Constructor & Destructor Documentation

moot::mootXMLRecoder::mootXMLRecoder const std::string &    src = "",
const std::string &    dst = ""
[inline]
 

Default constructor, given optional requests

moot::mootXMLRecoder::~mootXMLRecoder void    [inline]
 

Default destructor


Member Function Documentation

bool moot::mootXMLRecoder::buffer2buffer const char *    in,
size_t    in_size,
char **    out,
size_t *    out_used,
size_t *    out_alloc
[inline]
 

Recode a C buffer to a different C buffer

bool moot::mootXMLRecoder::buffer2file const char *    in,
size_t    in_size,
FILE *    out
[inline]
 

Recode a C buffer to a C stream

bool moot::mootXMLRecoder::buffer2mstream const char *    in,
size_t    in_size,
mootio::mostream   out
[inline]
 

Recode a C buffer to an STL string (append)

bool moot::mootXMLRecoder::buffer2string const char *    in,
size_t    in_size,
std::string &    out
[inline]
 

Recode a C buffer to an STL string (append)

void moot::mootXMLRecoder::scan_request const std::string &    src,
const std::string &    dst
[inline]
 

Generate and scan a simple request

void moot::mootXMLRecoder::scan_request const std::string &    reqstr [inline]
 

Scan a recode request string (i.e. one of the form "SRC..DST")

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

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

bool moot::mootXMLRecoder::string2file const std::string &    in,
FILE *    out
[inline]
 

Recode an STL string to a C stream

bool moot::mootXMLRecoder::string2file const char *    in,
FILE *    out
[inline]
 

Recode a C string to a C stream

bool moot::mootXMLRecoder::string2mstream const std::string &    in,
mootio::mostream   out
[inline]
 

Recode an STL string to an STL string (append)

bool moot::mootXMLRecoder::string2mstream const char *    s,
mootio::mostream   out
[inline]
 

Recode a C buffer to an STL string (append)

bool moot::mootXMLRecoder::string2string const std::string &    in,
std::string &    out
[inline]
 

Recode an STL string to an STL string (append)

bool moot::mootXMLRecoder::string2string const char *    s,
std::string &    out
[inline]
 

Recode a C buffer to an STL string (append)


Member Data Documentation

char* moot::mootXMLRecoder::buf1
 

size_t moot::mootXMLRecoder::buf1_alloc
 

size_t moot::mootXMLRecoder::buf1_used
 

char* moot::mootXMLRecoder::buf2
 

size_t moot::mootXMLRecoder::buf2_alloc
 

size_t moot::mootXMLRecoder::buf2_used
 

mootRecoder moot::mootXMLRecoder::rc1
 

mootRecoder moot::mootXMLRecoder::rc2
 

bool moot::mootXMLRecoder::standalone
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 11 16:10:36 2006 for libmoot by doxygen1.2.18