Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
art
art
Framework
Art
detail
md-collector
describe.cc
Go to the documentation of this file.
1
#include "
art/Framework/Art/detail/md-collector/describe.h
"
2
#include "
fhiclcpp/types/detail/PrintAllowedConfiguration.h
"
3
#include "
fhiclcpp/types/detail/optional_parameter_message.h
"
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
}
string
std::string string
Definition:
nybbler.cc:12
describe.h
fhicl::detail::optional_parameter_message
std::string optional_parameter_message(bool const with_comment=true)
Definition:
optional_parameter_message.h:6
fhicl::detail::ParameterWalker::walk_over
void walk_over(tt::maybe_const_t< ParameterBase, C > &)
Definition:
ParameterWalker.h:163
art::detail::describe
std::string describe(cet::exempt_ptr< fhicl::ConfigurationTable const > pb, std::string const &prefix)
Definition:
describe.cc:6
config
static Config * config
Definition:
config.cpp:1054
PrintAllowedConfiguration.h
cet::exempt_ptr
Definition:
exempt_ptr.h:38
optional_parameter_message.h
fhicl::detail::PrintAllowedConfiguration
Definition:
PrintAllowedConfiguration.h:15
Generated by
1.8.11