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

moot::mootRecoder Class Reference

Interface to librecode character-conversion routines.

#include <mootRecode.h>

List of all members.

Public Methods

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

Public Attributes


Constructor & Destructor Documentation

moot::mootRecoder::mootRecoder const std::string &    requestString = "",
bool    diacritics_only = false
[inline]
 

Default constructor, given optional request string

moot::mootRecoder::mootRecoder const std::string &    src,
const std::string &    dst,
bool    diacritics_only = false
[inline]
 

Default constructor, given source and destination encodings

moot::mootRecoder::~mootRecoder void    [inline]
 

Default destructor


Member Function Documentation

bool moot::mootRecoder::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::mootRecoder::buffer2file const char *    buf,
size_t    buflen,
FILE *    out
[inline]
 

Recode a C buffer to a C stream

bool moot::mootRecoder::buffer2mstream const char *    buf,
size_t    buflen,
mootio::mostream   out
[inline]
 

Recode a C buffer to a C stream

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

Recode a C buffer to an STL string (append)

void moot::mootRecoder::ensure_outer void    [inline]
 

ensure outer context is valid

void moot::mootRecoder::scan_request const std::string &    src,
const std::string &    dst,
bool    diacritics_only = false
[inline]
 

Generate and scan a simple request

void moot::mootRecoder::scan_request const std::string &    reqstr,
bool    diacritics_only = false
[inline]
 

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

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

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

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

Recode an STL string to a C stream

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

Recode a C string to a C stream

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

Recode an STL string to a C stream

bool moot::mootRecoder::string2mstream const char *    in,
mootio::mostream   out
[inline]
 

Recode a C string to a C stream

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

Recode an STL string to an STL string

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

Recode a C buffer to an STL string


Member Data Documentation

RECODE_OUTER moot::mootRecoder::rc_outer
 

std::string moot::mootRecoder::rc_reqstr
 

RECODE_REQUEST moot::mootRecoder::rc_request
 


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