LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "ValidateThenSet.h"
Public Member Functions | |
ValidateThenSet (ParameterSet const &pset, std::set< std::string > const &keysToIgnore) | |
~ValidateThenSet () | |
void | check_keys () |
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) |
Private Member Functions | |
bool | before_action (ParameterBase &p) override |
void | after_action (ParameterBase &p) override |
void | enter_sequence (SequenceBase &p) override |
void | delegated_parameter (DelegateBase &) override |
void | enter_table (TableBase &) override |
void | atom (AtomBase &) override |
Private Attributes | |
ParameterSet const & | pset_ |
std::set< std::string > | ignorableKeys_ |
std::vector< std::string > | userKeys_ |
std::vector< cet::exempt_ptr< ParameterBase > > | missingParameters_ |
Definition at line 15 of file ValidateThenSet.h.
fhicl::detail::ValidateThenSet::ValidateThenSet | ( | ParameterSet const & | pset, |
std::set< std::string > const & | keysToIgnore | ||
) |
Definition at line 16 of file ValidateThenSet.cc.
References ignorableKeys_, missingParameters_, userKeys_, and ~ValidateThenSet().
|
default |
Referenced by ValidateThenSet().
|
overrideprivate |
Definition at line 74 of file ValidateThenSet.cc.
References pset_, and fhicl::detail::ParameterBase::set_value().
|
overrideprivate |
Definition at line 34 of file ValidateThenSet.cc.
|
overrideprivate |
Definition at line 38 of file ValidateThenSet.cc.
References e, fhicl::detail::ParameterBase::has_default(), fhicl::ParameterSet::has_key(), ignorableKeys_, fhicl::detail::ParameterBase::is_optional(), fhicl::detail::is_sequence(), fhicl::detail::ParameterBase::key(), missingParameters_, fhicl::detail::ParameterBase::parameter_type(), fhicl::detail::ParameterBase::preset_value(), pset_, fhicl::detail::ParameterBase::should_use(), fhicl::detail::strip_first_containing_name(), and userKeys_.
void fhicl::detail::ValidateThenSet::check_keys | ( | ) |
Definition at line 210 of file ValidateThenSet.cc.
References ignorableKeys_, missingParameters_, fhicl::detail::optional_parameter_message(), pset_, and userKeys_.
|
overrideprivate |
Definition at line 104 of file ValidateThenSet.cc.
References util::end(), fhicl::ParameterSet::get_src_info(), art::left(), fhicl::detail::ParameterBase::name(), r, fhicl::Name::regex_safe(), fhicl::detail::strip_first_containing_name(), userKeys_, lar::dump::vector(), and fhicl::detail::ParameterWalker< C >::walk_over().
|
inlineinherited |
Definition at line 96 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 124 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 91 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 130 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 113 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 102 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 118 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 107 of file ParameterWalker.h.
|
overrideprivate |
Definition at line 82 of file ValidateThenSet.cc.
References fhicl::ParameterSet::is_key_to_sequence(), fhicl::detail::ParameterBase::key(), fhicl::detail::SequenceBase::prepare_elements_for_validation(), pset_, r, fhicl::Name::regex_safe(), fhicl::detail::strip_first_containing_name(), fhicl::type_mismatch, and userKeys_.
|
overrideprivate |
Definition at line 30 of file ValidateThenSet.cc.
|
inherited |
|
private |
Definition at line 34 of file ValidateThenSet.h.
Referenced by before_action(), check_keys(), and ValidateThenSet().
|
private |
Definition at line 36 of file ValidateThenSet.h.
Referenced by before_action(), check_keys(), and ValidateThenSet().
|
private |
Definition at line 33 of file ValidateThenSet.h.
Referenced by after_action(), before_action(), check_keys(), and enter_sequence().
|
private |
Definition at line 35 of file ValidateThenSet.h.
Referenced by before_action(), check_keys(), delegated_parameter(), enter_sequence(), and ValidateThenSet().