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;
string getHdf5FilePath() const
Returns the HDF5 file path.
const kaboom::Options * options
bool printUsage() const
Prints a usage message to stdout.
variables_map m_variables
The internally used variable map.
string getConfigFilePath() const
Returns the config file path.
positional_options_description m_posDescr
The internally used positional option description.
Options(int argc, char **argv)
Ctor. Parses the command parameters given to the main function of the program.
options_description m_descr
The internally used option description.
string getScanProjectPath() const
Returns the scan project file path.