1 #ifndef art_Framework_Services_Registry_ServiceTable_h 2 #define art_Framework_Services_Registry_ServiceTable_h 5 #include "cetlib/exempt_ptr.h" 33 std::set<std::string>
const keys_to_ignore{
"service_type",
35 config_.validate(pset, keys_to_ignore);
42 return config_.get_PSet();
47 std::string
const& prefix)
const 49 config_.print_allowed_configuration(os, prefix);
59 cet::exempt_ptr<fhicl::detail::ParameterBase const>
71 operator<<(std::ostream& os, ServiceTable<T>
const& t)
73 std::ostringstream config;
75 return os << config.str();
auto const & operator()() const
fhicl::Table< T > config_
void print_allowed_configuration(std::ostream &os, std::string const &prefix) const
ServiceTable(fhicl::ParameterSet const &pset)
cet::exempt_ptr< fhicl::detail::ParameterBase const > get_parameter_base() const override
ServiceTable(fhicl::Name &&name)
fhicl::ParameterSet const & get_PSet() const
void print_allowed_configuration(std::ostream &os, std::string const &tab=std::string(3, ' ')) const