1 #ifndef art_Framework_Services_Registry_ServiceTable_h 2 #define art_Framework_Services_Registry_ServiceTable_h 33 std::set<std::string>
const keys_to_ignore{
"service_type",
35 config_.validate(pset, keys_to_ignore);
42 return config_.get_PSet();
49 config_.print_allowed_configuration(os, prefix);
71 operator<<(std::ostream& os, ServiceTable<T>
const&
t)
74 t.print_allowed_configuration(config,
std::string(3,
' '));
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