1 #ifndef art_Framework_Art_OptionsHandler_h 2 #define art_Framework_Art_OptionsHandler_h 6 #include "boost/program_options.hpp" 9 namespace bpo = boost::program_options;
32 template <
typename T,
typename... Args>
36 t(std::forward<Args>(args)...);
void add_opt(T &t, Args &&...args)
virtual ~OptionsHandler()=default
int processOptions(bpo::variables_map const &vm, fhicl::intermediate_table &raw_config)
virtual int doCheckOptions(bpo::variables_map const &vm)=0
int checkOptions(bpo::variables_map const &vm)
virtual int doProcessOptions(bpo::variables_map const &vm, fhicl::intermediate_table &raw_config)=0