LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
describe.cc
Go to the documentation of this file.
4 
5 std::string
6 art::detail::describe(cet::exempt_ptr<fhicl::ConfigurationTable const> config,
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 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