src/tools/lvr2_chunking_server/Options.hpp
Go to the documentation of this file.
1 
35 #ifndef OPTIONS_HPP_
36 #define OPTIONS_HPP_
37 
38 #include <boost/program_options.hpp>
39 #include <string>
40 
41 namespace chunking_server
42 {
43 
44 using boost::program_options::options_description;
45 using boost::program_options::positional_options_description;
46 using boost::program_options::variables_map;
47 using std::string;
48 
52 class Options
53 {
54  public:
59  Options(int argc, char** argv);
60  virtual ~Options();
61 
65  bool printUsage() const;
66 
70  string getScanProjectPath() const;
71 
75  string getHdf5FilePath() const;
76 
80  string getConfigFilePath() const;
81 
82 private:
84  variables_map m_variables;
85 
87  options_description m_descr;
88 
90  positional_options_description m_posDescr;
91 };
92 
93 } // namespace chunking server
94 
95 #endif /* OPTIONS_HPP_ */
string getHdf5FilePath() const
Returns the HDF5 file path.
A class to parse the program options for the chunking server executable.
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.
char ** argv


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 Mon Feb 28 2022 22:46:08