Public Member Functions | Private Attributes | List of all members
chunking_server::Options Class Reference

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...
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ Options()

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.

◆ ~Options()

Options::~Options ( )
virtual

Definition at line 111 of file src/tools/lvr2_chunking_server/Options.cpp.

Member Function Documentation

◆ getConfigFilePath()

string Options::getConfigFilePath ( ) const

Returns the config file path.

Definition at line 106 of file src/tools/lvr2_chunking_server/Options.cpp.

◆ getHdf5FilePath()

string Options::getHdf5FilePath ( ) const

Returns the HDF5 file path.

Definition at line 101 of file src/tools/lvr2_chunking_server/Options.cpp.

◆ getScanProjectPath()

string Options::getScanProjectPath ( ) const

Returns the scan project file path.

Definition at line 96 of file src/tools/lvr2_chunking_server/Options.cpp.

◆ printUsage()

bool Options::printUsage ( ) const

Prints a usage message to stdout.

Definition at line 61 of file src/tools/lvr2_chunking_server/Options.cpp.

Member Data Documentation

◆ m_descr

options_description chunking_server::Options::m_descr
private

The internally used option description.

Definition at line 87 of file src/tools/lvr2_chunking_server/Options.hpp.

◆ m_posDescr

positional_options_description chunking_server::Options::m_posDescr
private

The internally used positional option description.

Definition at line 90 of file src/tools/lvr2_chunking_server/Options.hpp.

◆ m_variables

variables_map chunking_server::Options::m_variables
private

The internally used variable map.

Definition at line 84 of file src/tools/lvr2_chunking_server/Options.hpp.


The documentation for this class was generated from the following files:


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:11