1 #ifndef fhiclcpp_types_detail_TableBase_h 2 #define fhiclcpp_types_detail_TableBase_h 4 #include "cetlib/exempt_ptr.h" 21 std::function<
bool()> maybeUse);
26 std::string
const& tab = std::string(3,
' '))
const;
27 std::vector<cet::exempt_ptr<ParameterBase>>
const&
members()
const;
29 std::set<std::string>
const& ignorable_keys = {});
44 std::optional<ParameterSet>
pset_;
45 std::vector<cet::exempt_ptr<ParameterBase>>
members_;
ParameterSet const & get_pset() const
std::vector< cet::exempt_ptr< ParameterBase > > const & members() const
void validate(ParameterSet const &pset, std::set< std::string > const &ignorable_keys={})
std::optional< ParameterSet > select_pset(ParameterSet const &pset) const
std::vector< cet::exempt_ptr< ParameterBase > > members_
std::string const & name() const
std::optional< ParameterSet > maybe_select_pset(ParameterSet const &pset) const
ParameterSet const & guarantee_pset() const
void print_allowed_configuration(std::ostream &os, std::string const &tab=std::string(3, ' ')) const
void do_set_value(ParameterSet const &pset) final
std::string const & comment() const
void maybe_implicitly_default()
std::optional< ParameterSet > pset_
std::ostream & operator<<(std::ostream &os, TableBase const &t)
TableBase(Name const &name, Comment const &comment, par_style vt, std::function< bool()> maybeUse)