LArSoft  v07_13_02
Liquid Argon Software toolkit - http://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 #include <string>
8 
9 // Handle the basic options, like config, help, process-name.
10 
11 namespace art {
12  class BasicOptionsHandler;
13 }
14 
16 public:
17  BasicOptionsHandler(bpo::options_description& desc,
18  cet::filepath_maker& maker);
19 
20 private:
21  // Check selected options for consistency.
22  int doCheckOptions(bpo::variables_map const& vm) override;
23  // Act on selected options.
24  int doProcessOptions(bpo::variables_map const& vm,
25  fhicl::intermediate_table& raw_config) override;
26 
27  // Data.
28  bpo::options_description const& help_desc_;
29  cet::filepath_maker& maker_;
30 };
31 #endif /* art_Framework_Art_BasicOptionsHandler_h */
32 
33 // Local Variables:
34 // mode: c++
35 // End:
int doCheckOptions(bpo::variables_map const &vm) override
bpo::options_description const & help_desc_
BasicOptionsHandler(bpo::options_description &desc, cet::filepath_maker &maker)
HLT enums.
cet::filepath_maker & maker_
int doProcessOptions(bpo::variables_map const &vm, fhicl::intermediate_table &raw_config) override