Class to process command-line arguments.
More...
#include <functions.hpp>
|
|
| InputParser (int &argc, char **argv) |
| |
|
const std::string | getCmdOption (const std::string &option, const std::string &default_value="") const |
| |
|
bool | cmdOptionExists (const std::string &option) const |
| |
|
void | getFilterScales (std::vector< double > &filter_scales, const std::string &argname) const |
| |
|
void | getListofStrings (std::vector< std::string > &list_of_strings, const std::string &argname) const |
| |
Class to process command-line arguments.
This parser tool was provided by StackOverflow user 'iain' at the following post. mild modifications have been made to adapt the code to our purposes.
https://stackoverflow.com/questions/865668/how-to-parse-command-line-arguments-in-c
The documentation for this class was generated from the following files:
- /home/docs/checkouts/readthedocs.org/user_builds/flowsieve/checkouts/read_the_docs_testing/functions.hpp
- /home/docs/checkouts/readthedocs.org/user_builds/flowsieve/checkouts/read_the_docs_testing/Functions/Interface_Tools/InputParser.cpp