Go to the documentation of this file.
42 using boost::program_options::command_line_parser;
43 using boost::program_options::value;
50 m_descr.add_options()(
"help",
"Produce help message")
51 (
"scanProject", value<string>(),
"Path to scan project.")
52 (
"hdf5File", value<string>(),
"Path to HDF5 file.")
53 (
"configFile", value<string>(),
"Path to YAML config file.");
71 cout <<
"Error: You must specify a scan project path." << endl;
79 cout <<
"Error: You must specify a HDF5 file path." << endl;
87 cout <<
"Error: You must specify a YAML config file path." << endl;
bool printUsage() const
Prints a usage message to stdout.
string getScanProjectPath() const
Returns the scan project file path.
variables_map m_variables
The internally used variable map.
const kaboom::Options * options
options_description m_descr
The internally used option description.
string getHdf5FilePath() const
Returns the HDF5 file path.
string getConfigFilePath() const
Returns the config file path.
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
positional_options_description m_posDescr
The internally used positional option description.
lvr2
Author(s): Thomas Wiemann
, Sebastian Pütz , Alexander Mock , Lars Kiesow , Lukas Kalbertodt , Tristan Igelbrink , Johan M. von Behren , Dominik Feldschnieders , Alexander Löhr
autogenerated on Wed Mar 2 2022 00:37:24