|
template<typename... Args> |
auto | operator() (const char *baseOption, const Args &...dependencies) const -> auto |
|
|
const po::variables_map & | vm |
| The variables-map, parsed from command line. More...
|
|
Handles Dependencies of program-options
Definition at line 44 of file main.cpp.
◆ operator()()
template<typename... Args>
auto Dependencies::operator() |
( |
const char * |
baseOption, |
|
|
const Args &... |
dependencies |
|
) |
| const -> auto |
|
inline |
Checks dependencies of program options
- Template Parameters
-
Args | required options (const char *) of variable-size |
- Parameters
-
baseOption | option that requires one or more other options |
dependencies | the required options |
- Returns
- this to add more requirements
- Exceptions
-
logic_error | if option requirements are not met |
Definition at line 56 of file main.cpp.
◆ vm
const po::variables_map& Dependencies::vm |
The variables-map, parsed from command line.
Definition at line 45 of file main.cpp.
The documentation for this struct was generated from the following file: