A class to parse the program options for the chunking server executable. More...
#include <Options.hpp>
Public Member Functions | |
string | getConfigFilePath () const |
Returns the config file path. More... | |
string | getHdf5FilePath () const |
Returns the HDF5 file path. More... | |
string | getScanProjectPath () const |
Returns the scan project file path. More... | |
Options (int argc, char **argv) | |
Ctor. Parses the command parameters given to the main function of the program. More... | |
bool | printUsage () const |
Prints a usage message to stdout. More... | |
virtual | ~Options () |
Private Attributes | |
options_description | m_descr |
The internally used option description. More... | |
positional_options_description | m_posDescr |
The internally used positional option description. More... | |
variables_map | m_variables |
The internally used variable map. More... | |
A class to parse the program options for the chunking server executable.
Definition at line 52 of file src/tools/lvr2_chunking_server/Options.hpp.
Options::Options | ( | int | argc, |
char ** | argv | ||
) |
Ctor. Parses the command parameters given to the main function of the program.
Definition at line 47 of file src/tools/lvr2_chunking_server/Options.cpp.
|
virtual |
Definition at line 111 of file src/tools/lvr2_chunking_server/Options.cpp.
string Options::getConfigFilePath | ( | ) | const |
Returns the config file path.
Definition at line 106 of file src/tools/lvr2_chunking_server/Options.cpp.
string Options::getHdf5FilePath | ( | ) | const |
Returns the HDF5 file path.
Definition at line 101 of file src/tools/lvr2_chunking_server/Options.cpp.
string Options::getScanProjectPath | ( | ) | const |
Returns the scan project file path.
Definition at line 96 of file src/tools/lvr2_chunking_server/Options.cpp.
bool Options::printUsage | ( | ) | const |
Prints a usage message to stdout.
Definition at line 61 of file src/tools/lvr2_chunking_server/Options.cpp.
|
private |
The internally used option description.
Definition at line 87 of file src/tools/lvr2_chunking_server/Options.hpp.
|
private |
The internally used positional option description.
Definition at line 90 of file src/tools/lvr2_chunking_server/Options.hpp.
|
private |
The internally used variable map.
Definition at line 84 of file src/tools/lvr2_chunking_server/Options.hpp.