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

Alphabet Class Reference

#include <alphabet.h>

List of all members.

Public Member Functions

 Alphabet ()
 Alphabet (Alphabet const &a)
pair< int, int > const & decode (int const code) const
void getSymbol (wstring &result, int const symbol, bool uppercase=false) const
void includeSymbol (wstring const &s)
bool isSymbolDefined (wstring const &s)
bool isTag (int const symbol) const
int operator() (int const c1, int const c2)
int operator() (wstring const &s)
Alphabetoperator= (Alphabet const &a)
void read (FILE *input)
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< wstring, int, Ltstrslexic
vector< wstring > slexicinv
map< pair< int, int >, int > spair
vector< pair< int, int > > spairinv

Detailed Description

Alphabet class. Encodes pairs of symbols into an integer.

Definition at line 35 of file alphabet.h.

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

Generated by  Doxygen 1.6.0   Back to index