LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
BasicOptionsHandler.h
Go to the documentation of this file.
1 #ifndef art_Framework_Art_BasicOptionsHandler_h
2 #define art_Framework_Art_BasicOptionsHandler_h
3 
5 #include "cetlib/filepath_maker.h"
6 
7 // Handle the basic options, like config, help, process-name.
8 
9 namespace art {
10  class BasicOptionsHandler;
11 }
12 
14 public:
15  BasicOptionsHandler(bpo::options_description& desc,
16  cet::filepath_maker& maker,
17  bool report_unused);
18 
19 private:
20  // Check selected options for consistency.
21  int doCheckOptions(bpo::variables_map const& vm) override;
22  // Act on selected options.
23  int doProcessOptions(bpo::variables_map const& vm,
24  fhicl::intermediate_table& raw_config) override;
25 
26  // Data.
27  bpo::options_description const& help_desc_;
28  cet::filepath_maker& maker_;
29 };
30 #endif /* art_Framework_Art_BasicOptionsHandler_h */
31 
32 // Local Variables:
33 // mode: c++
34 // End:
int doCheckOptions(bpo::variables_map const &vm) override
bpo::options_description const & help_desc_
Definition: MVAAlg.h:12
cet::filepath_maker & maker_
int doProcessOptions(bpo::variables_map const &vm, fhicl::intermediate_table &raw_config) override
BasicOptionsHandler(bpo::options_description &desc, cet::filepath_maker &maker, bool report_unused)