LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
DelegateBase.h
Go to the documentation of this file.
1 #ifndef fhiclcpp_types_detail_DelegateBase_h
2 #define fhiclcpp_types_detail_DelegateBase_h
3 
6 
7 namespace fhicl {
8 
9  class ParameterSet;
10 
11  namespace detail {
12 
13  //========================================================
14  class DelegateBase : public ParameterBase {
15  public:
17  Comment const& comment,
18  par_style const vt,
19  std::function<bool()> maybeUse)
20  : ParameterBase{name, comment, vt, par_type::DELEGATE, maybeUse}
21  {}
22  };
23  }
24 }
25 
26 #endif /* fhiclcpp_types_detail_DelegateBase_h */
27 
28 // Local variables:
29 // mode: c++
30 // End:
DelegateBase(Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
Definition: DelegateBase.h:16
parameter set interface
std::string name() const
Definition: ParameterBase.h:49
std::string comment() const
Definition: ParameterBase.h:54