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:
const XML_Char * name
Definition: expat.h:151
DelegateBase(Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
Definition: DelegateBase.h:16
std::string name() const
Definition: ParameterBase.h:49
std::string comment() const
Definition: ParameterBase.h:54