btool
A parser/converter/transpiler for .bib files
Dependencies Struct Reference
+ Collaboration diagram for Dependencies:

Public Member Functions

template<typename... Args>
auto operator() (const char *baseOption, const Args &...dependencies) const -> auto
 

Public Attributes

const po::variables_map & vm
 The variables-map, parsed from command line. More...
 

Detailed Description

Handles Dependencies of program-options

Definition at line 44 of file main.cpp.

Member Function Documentation

◆ operator()()

template<typename... Args>
auto Dependencies::operator() ( const char *  baseOption,
const Args &...  dependencies 
) const -> auto
inline

Checks dependencies of program options

Template Parameters
Argsrequired options (const char *) of variable-size
Parameters
baseOptionoption that requires one or more other options
dependenciesthe required options
Returns
this to add more requirements
Exceptions
logic_errorif option requirements are not met

Definition at line 56 of file main.cpp.

Member Data Documentation

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