Logo Search packages:      
Sourcecode: lttoolbox version File versions

Alphabet Class Reference

#include <Alphabet.H>

List of all members.


Detailed Description

Alphabet class. Encodes pairs of symbols into an integer.

Definition at line 36 of file Alphabet.H.


Public Member Functions

 Alphabet (Alphabet const &a)
 Alphabet ()
string const & firstSymbol (int const key) const
string const & getSymbol (int const symbol, bool uppercase=false) const
void getSymbol (string &result, int const symbol, bool uppercase=false) const
void includeSymbol (string const &s)
bool isSymbolDefined (string const &s)
bool isTag (int const symbol) const
int operator() (string const &s)
int operator() (char const c1, char const c2)
int operator() (char const c1, string const &s2)
int operator() (string const &s1, char const c2)
int operator() (string const &s1, string const &s2)
Alphabetoperator= (Alphabet const &a)
void read (FILE *input)
string const & secondSymbol (int const clave) const
int size () const
void write (FILE *output)
void writeSymbol (int const symbol, FILE *output) const
 ~Alphabet ()

Private Member Functions

void copy (Alphabet const &a)
void destroy ()

Private Attributes

map< string, int, Ltstr > slexic
vector< string > slexicinv

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

Generated by  Doxygen 1.6.0   Back to index