LArSoft  v06_85_00
Liquid Argon Software toolkit - http://larsoft.org/
OptionalDelegatedParameter.cc
Go to the documentation of this file.
2 #include "cetlib/container_algorithms.h"
5 
6 namespace fhicl {
7 
9  : OptionalDelegatedParameter{std::move(name), Comment("")}
10  {}
11 
13  Comment&& comment)
14  : DelegateBase{std::move(name),
15  std::move(comment),
18  , RegisterIfTableMember{this}
19  {
21  }
22 
24  Name&& name,
25  Comment&& comment,
26  std::function<bool()> maybeUse)
27  : DelegateBase{std::move(name),
28  std::move(comment),
30  maybeUse}
31  , RegisterIfTableMember{this}
32  {
34  }
35 }
DelegateBase(Name const &name, Comment const &comment, par_style const vt, std::function< bool()> maybeUse)
Definition: DelegateBase.h:16
std::function< bool()> AlwaysUse()
parameter set interface
std::string name() const
Definition: ParameterBase.h:49
std::string comment() const
Definition: ParameterBase.h:54