describe.cc
Go to the documentation of this file.
4 
7  std::string const& tab)
8 {
9  std::ostringstream oss;
10  if (config == nullptr) {
11  oss << "\n" << tab << "[ None provided ]\n";
12  } else {
13  oss << '\n' << tab << fhicl::detail::optional_parameter_message() << '\n';
14  fhicl::detail::PrintAllowedConfiguration pac{oss, false, tab};
15  pac.walk_over(*config->parameter_base());
16  }
17  return oss.str();
18 }
std::string string
Definition: nybbler.cc:12
std::string optional_parameter_message(bool const with_comment=true)
void walk_over(tt::maybe_const_t< ParameterBase, C > &)
std::string describe(cet::exempt_ptr< fhicl::ConfigurationTable const > pb, std::string const &prefix)
Definition: describe.cc:6
static Config * config
Definition: config.cpp:1054