#include <PrintAllowedConfiguration.h>
|
| PrintAllowedConfiguration (std::ostream &os, bool const showParents=false, std::string const &prefix=std::string(3, ' '), bool const stlf=false) |
|
| ParameterWalker ()=default |
|
virtual | ~ParameterWalker ()=default |
|
void | walk_over (tt::maybe_const_t< ParameterBase, C > &) |
|
bool | do_before_action (tt::maybe_const_t< ParameterBase, C > &p) |
|
void | do_after_action (tt::maybe_const_t< ParameterBase, C > &p) |
|
void | do_enter_table (tt::maybe_const_t< TableBase, C > &t) |
|
void | do_exit_table (tt::maybe_const_t< TableBase, C > &t) |
|
void | do_enter_sequence (tt::maybe_const_t< SequenceBase, C > &s) |
|
void | do_exit_sequence (tt::maybe_const_t< SequenceBase, C > &s) |
|
void | do_atom (tt::maybe_const_t< AtomBase, C > &a) |
|
void | do_delegated_parameter (tt::maybe_const_t< DelegateBase, C > &dp) |
|
Definition at line 15 of file PrintAllowedConfiguration.h.
PrintAllowedConfiguration::PrintAllowedConfiguration |
( |
std::ostream & |
os, |
|
|
bool const |
showParents = false , |
|
|
std::string const & |
prefix = std::string(3, ' ') , |
|
|
bool const |
stlf = false |
|
) |
| |
void PrintAllowedConfiguration::after_action |
( |
ParameterBase const & |
p | ) |
|
|
overrideprivate |
Definition at line 159 of file PrintAllowedConfiguration.cc.
167 if (
p.is_conditional()) {
171 }
else if (
p.is_optional()) {
bool suppressFormat(ParameterBase const &p)
void maybeReleaseTopLevelParameter(ParameterBase const &p)
void modify_top(std::string const &s)
std::stack< MaybeDisplayParent > mps_
std::unordered_set< std::string > keysWithCommas_
std::unordered_set< std::string > keysWithEllipses_
void PrintAllowedConfiguration::atom |
( |
AtomBase const & |
a | ) |
|
|
overrideprivate |
Definition at line 108 of file PrintAllowedConfiguration.cc.
116 if (
p.is_conditional()) {
123 if (!
p.comment().empty()) {
124 if (!
p.is_conditional())
142 if (
p.is_optional()) {
143 if (
p.is_conditional())
bool suppressFormat(ParameterBase const &p)
bool is_sequence_element(std::string const &key)
std::vector< std::string > split_by_regex(std::string const &str, std::regex const &reDelimSet)
void modify_top(std::string const &s)
bool showParentsForFirstParam_
std::stack< MaybeDisplayParent > mps_
bool suppressTopLevelFormatting_
void line(double t, double *p, double &x, double &y, double &z)
void cacheTopLevelParameter(ParameterBase const &p)
void fhicl::detail::PrintAllowedConfiguration::cacheTopLevelParameter |
( |
ParameterBase const & |
p | ) |
|
|
inlineprivate |
void PrintAllowedConfiguration::delegated_parameter |
( |
DelegateBase const & |
dp | ) |
|
|
overrideprivate |
void PrintAllowedConfiguration::enter_sequence |
( |
SequenceBase const & |
s | ) |
|
|
overrideprivate |
Definition at line 200 of file PrintAllowedConfiguration.cc.
225 for (std::size_t i{}; i !=
s.
size() - 1; ++i)
std::unordered_set< std::string > keysWithCommas_
std::unordered_set< std::string > keysWithEllipses_
std::string to_string(ModuleType const mt)
void PrintAllowedConfiguration::enter_table |
( |
TableBase const & |
t | ) |
|
|
overrideprivate |
void PrintAllowedConfiguration::exit_sequence |
( |
SequenceBase const & |
| ) |
|
|
overrideprivate |
void PrintAllowedConfiguration::exit_table |
( |
TableBase const & |
| ) |
|
|
overrideprivate |
void fhicl::detail::PrintAllowedConfiguration::maybeReleaseTopLevelParameter |
( |
ParameterBase const & |
p | ) |
|
|
inlineprivate |
bool fhicl::detail::PrintAllowedConfiguration::suppressFormat |
( |
ParameterBase const & |
p | ) |
|
|
inlineprivate |
std::ostream& fhicl::detail::PrintAllowedConfiguration::buffer_ |
|
private |
std::string fhicl::detail::PrintAllowedConfiguration::cachedTopLevelParameter_ {} |
|
private |
Indentation fhicl::detail::PrintAllowedConfiguration::indent_ |
|
private |
std::unordered_set<std::string> fhicl::detail::PrintAllowedConfiguration::keysWithCommas_ {} |
|
private |
std::unordered_set<std::string> fhicl::detail::PrintAllowedConfiguration::keysWithEllipses_ {} |
|
private |
bool fhicl::detail::PrintAllowedConfiguration::showParentsForFirstParam_ |
|
private |
bool fhicl::detail::PrintAllowedConfiguration::suppressTopLevelFormatting_ |
|
private |
The documentation for this class was generated from the following files: