#include <Alphabet.h>
Inheritance diagram for Alphabet:

Public Member Functions | |
| virtual int | getNum (const string &letter) const =0 |
| Interface for conversion from the letter name to an integer. | |
| virtual string | getLetter (int index) const =0 |
| Interface for conversion from an integer index into the corresponding letter name. | |
| void | printWord (ostream &out, const Word &w) const |
| Output a word in the alphabet letters. | |
| Word | readWord (istream &in) const |
| Read a word from a stream in the alphabet letters. | |
| void | printVector (ostream &out, const vector< Word > &v) const |
| Output a vector of words in the alphabet letters. | |
| vector< Word > | readVector (istream &in) const |
| Read a vector of words from a stream in the alphabet letters. | |
Definition at line 34 of file Alphabet.h.
|
|
Interface for conversion from an integer index into the corresponding letter name.
Implemented in InfiniteAlphabet. |
|
|
Interface for conversion from the letter name to an integer.
Implemented in InfiniteAlphabet. |
|
||||||||||||
|
Output a vector of words in the alphabet letters.
|
|
||||||||||||
|
Output a word in the alphabet letters.
Referenced by Word::printOn(). |
|
|
Read a vector of words from a stream in the alphabet letters.
|
|
|
Read a word from a stream in the alphabet letters.
|
1.4.6