#include <alphabet.h>
ZGen::Engine::MutableAlphabet::MutableAlphabet |
( |
| ) |
|
|
inline |
virtual const char* ZGen::Engine::MutableAlphabet::decode |
( |
int |
id | ) |
const |
|
pure virtual |
Get the name of index from the alphabet.
- Parameters
-
- Returns
- const char* The name string.
Implemented in ZGen::Engine::WordAlphabet.
virtual int ZGen::Engine::MutableAlphabet::encode |
( |
const char * |
name | ) |
const |
|
pure virtual |
virtual int ZGen::Engine::MutableAlphabet::insert |
( |
const char * |
name | ) |
|
|
pure virtual |
Insert the name into the alphabet.
- Parameters
-
- Returns
- int return 1 if the name is not in the alphabet, otherwise false.
Implemented in ZGen::Engine::WordAlphabet.
The documentation for this class was generated from the following file: