Public Member Functions | |
| void | addParam (gridkey key, const string &arg, float defaultValue) |
| void | parseArgs (int &argc, char const **&argv) |
| const vector< float > & | getGrid (gridkey key) const |
Definition at line 68 of file LatticeMBRGrid.cpp.
| void Moses::Grid::addParam | ( | gridkey | key, | |
| const string & | arg, | |||
| float | defaultValue | |||
| ) | [inline] |
Add a parameter with key, command line argument, and default value
Definition at line 72 of file LatticeMBRGrid.cpp.
References UTIL_THROW_IF2.
Referenced by main().

| const vector<float>& Moses::Grid::getGrid | ( | gridkey | key | ) | const [inline] |
Get the grid for a particular key.
Definition at line 128 of file LatticeMBRGrid.cpp.
Referenced by main().

| void Moses::Grid::parseArgs | ( | int & | argc, | |
| char const **& | argv | |||
| ) | [inline] |
Parse the arguments, removing those that define the grid and returning a copy of the rest
Definition at line 80 of file LatticeMBRGrid.cpp.
References key.
Referenced by main().

1.5.9