sisi4s
Loading...
Searching...
No Matches
Options.hpp
Go to the documentation of this file.
1#ifndef OPTIONS_DEFINED
2#define OPTIONS_DEFINED
3
4#include <string>
5#include <vendor/CLI11.hpp>
6
7namespace sisi4s {
8struct Options {
9
12 std::string inFile, logFile, yamlOutFile;
13 int argc;
14 char **argv;
16
17 static const int DEFAULT_LOG_LEVEL = 1;
18
19 Options(int argc, char **argv);
20 int parse();
21};
22} // namespace sisi4s
23
24#endif
Creates a command line program, with very few defaults.
Definition CLI11.hpp:5286
Definition Algorithm.hpp:10
Definition Options.hpp:8
char ** argv
Definition Options.hpp:14
std::string logFile
Definition Options.hpp:12
bool dryRun
Definition Options.hpp:15
int logLevel
Definition Options.hpp:11
std::string inFile
Definition Options.hpp:12
int argc
Definition Options.hpp:13
static const int DEFAULT_LOG_LEVEL
Definition Options.hpp:17
bool cc4s
Definition Options.hpp:15
bool listAlgorithms
Definition Options.hpp:15
int parse()
Definition Options.cxx:41
CLI::App app
Definition Options.hpp:10
std::string yamlOutFile
Definition Options.hpp:12