Main Page | Directories | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class 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 Member Functions

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

< don't double-free shared outer


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 Jun 27 13:05:28 2005 for libmoot by  doxygen 1.3.8-20040913