Logo Search packages:      
Sourcecode: apertium version File versions  Download package

TransferWord Class Reference

#include <TransferWord.H>

List of all members.


Detailed Description

Word type for transfer modules

Definition at line 32 of file TransferWord.H.


Public Member Functions

void init (string const &src, string const &tgt)
TransferWordoperator= (TransferWord const &o)
void setSource (char const *part, string const &value)
void setTarget (char const *part, string const &value)
string source (char const *part)
string target (char const *part)
 TransferWord (string const &src, string const &tgt)
 TransferWord (TransferWord const &o)
 TransferWord ()
 ~TransferWord ()

Private Member Functions

string access (map< char const *, pair< int, int > > &m, string &str, char const *part)
void assign (map< char const *, pair< int, int > > &m, string &str, char const *part, string const &value)
void copy (TransferWord const &o)
void destroy ()

Static Private Member Functions

static regex_t & getRegex (const char *part)
static void regexError (char const *message, int const errorcode)

Private Attributes

map< char const *, pair< int,
int > > 
s
string s_str
map< char const *, pair< int,
int > > 
t
string t_str

Static Private Attributes

static map< char const *, regex_t > compiled_regexes

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index