LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "ValidateThenSet.h"
Public Member Functions | |
ValidateThenSet (fhicl::ParameterSet const &pset, std::set< std::string > const &keysToIgnore) | |
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 16 of file ValidateThenSet.h.
|
inline |
Definition at line 19 of file ValidateThenSet.h.
References after_action(), before_action(), check_keys(), delegated_parameter(), enter_sequence(), ignorableKeys_, missingParameters_, and userKeys_.
|
overrideprivate |
Definition at line 42 of file ValidateThenSet.cc.
References pset_, and fhicl::detail::ParameterBase::set_value().
Referenced by ValidateThenSet().
|
inlineoverrideprivate |
Definition at line 41 of file ValidateThenSet.h.
|
overrideprivate |
Definition at line 20 of file ValidateThenSet.cc.
References fhicl::detail::ParameterBase::has_default(), fhicl::ParameterSet::has_key(), ignorableKeys_, fhicl::detail::ParameterBase::is_optional(), fhicl::detail::ParameterBase::key(), missingParameters_, pset_, fhicl::detail::ParameterBase::should_use(), fhicl::detail::strip_first_containing_name(), and userKeys_.
Referenced by ValidateThenSet().
void fhicl::detail::ValidateThenSet::check_keys | ( | ) |
Definition at line 178 of file ValidateThenSet.cc.
References ignorableKeys_, missingParameters_, fhicl::detail::optional_parameter_message(), pset_, and userKeys_.
Referenced by ValidateThenSet().
|
overrideprivate |
Definition at line 72 of file ValidateThenSet.cc.
References evd::details::end(), fhicl::ParameterSet::get_src_info(), art::left(), fhicl::detail::ParameterBase::name(), fhicl::Name::regex_safe(), fhicl::detail::strip_first_containing_name(), userKeys_, lar::dump::vector(), and fhicl::detail::ParameterWalker< C >::walk_over().
Referenced by ValidateThenSet().
|
inlineinherited |
Definition at line 98 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 126 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 93 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 132 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 115 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 104 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 120 of file ParameterWalker.h.
|
inlineinherited |
Definition at line 109 of file ParameterWalker.h.
|
overrideprivate |
Definition at line 50 of file ValidateThenSet.cc.
References fhicl::ParameterSet::is_key_to_sequence(), fhicl::detail::ParameterBase::key(), fhicl::detail::SequenceBase::prepare_elements_for_validation(), pset_, fhicl::Name::regex_safe(), fhicl::detail::strip_first_containing_name(), fhicl::type_mismatch, and userKeys_.
Referenced by ValidateThenSet().
|
inlineoverrideprivate |
Definition at line 38 of file ValidateThenSet.h.
|
inherited |
|
private |
Definition at line 45 of file ValidateThenSet.h.
Referenced by before_action(), check_keys(), and ValidateThenSet().
|
private |
Definition at line 47 of file ValidateThenSet.h.
Referenced by before_action(), check_keys(), and ValidateThenSet().
|
private |
Definition at line 44 of file ValidateThenSet.h.
Referenced by after_action(), before_action(), check_keys(), and enter_sequence().
|
private |
Definition at line 46 of file ValidateThenSet.h.
Referenced by before_action(), check_keys(), delegated_parameter(), enter_sequence(), and ValidateThenSet().