LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "MarleyParameterSetWalker.h"
Public Types | |
using | key_t = std::string |
using | any_t = std::any |
Public Member Functions | |
const marley::JSON & | get_json () const |
marley::JSON & | get_json () |
void | do_enter_table (key_t const &k, any_t const &a) |
void | do_enter_sequence (key_t const &k, any_t const &a) |
void | do_atom (key_t const &k, any_t const &a) |
void | do_before_action (key_t const &k, any_t const &a, ParameterSet const *ps) |
void | do_after_action (key_t const &k) |
void | do_exit_table (key_t const &k, any_t const &a) |
void | do_exit_sequence (key_t const &k, any_t const &a) |
Private Member Functions | |
void | enter_table (const key_t &key, const any_t &) override |
void | enter_sequence (const key_t &key, const any_t &) override |
void | atom (const key_t &key, const any_t &any) override |
void | exit_table (const key_t &, const any_t &) override |
void | exit_sequence (const key_t &, const any_t &) override |
Private Attributes | |
marley::JSON | full_json_ |
Owned JSON object used to store the converted FHiCL parameters. More... | |
std::vector< std::reference_wrapper< marley::JSON > > | json_refs_ = {full_json_} |
References to the owned JSON object or a sub-object thereof. More... | |
unsigned | seq_index_ = 0u |
bool | in_seq_ = false |
Definition at line 26 of file MarleyParameterSetWalker.h.
|
inherited |
Definition at line 79 of file ParameterSetWalker.h.
|
inherited |
Definition at line 78 of file ParameterSetWalker.h.
|
inlineoverrideprivate |
Definition at line 47 of file MarleyParameterSetWalker.h.
References in_seq_, json_refs_, seq_index_, and fhicl::detail::atom::value().
|
inlineinherited |
Definition at line 103 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::after_action().
Referenced by fhicl::ParameterSet::walk().
Definition at line 92 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::atom().
Referenced by fhicl::ParameterSet::walk().
|
inlineinherited |
Definition at line 98 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::before_action().
Referenced by fhicl::ParameterSet::walk().
|
inlineinherited |
Definition at line 87 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::enter_sequence().
Referenced by fhicl::ParameterSet::walk().
Definition at line 82 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::enter_table().
Referenced by fhicl::ParameterSet::walk().
|
inlineinherited |
Definition at line 114 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::atom(), fhicl::ParameterSetWalker::enter_sequence(), fhicl::ParameterSetWalker::enter_table(), and fhicl::ParameterSetWalker::exit_sequence().
Referenced by fhicl::ParameterSet::walk().
Definition at line 109 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::exit_table().
Referenced by fhicl::ParameterSet::walk().
|
inlineoverrideprivate |
Definition at line 39 of file MarleyParameterSetWalker.h.
References in_seq_, json_refs_, art::InputSourceFactory::make(), and seq_index_.
|
inlineoverrideprivate |
Definition at line 33 of file MarleyParameterSetWalker.h.
References json_refs_, and art::InputSourceFactory::make().
|
inlineoverrideprivate |
Definition at line 69 of file MarleyParameterSetWalker.h.
References in_seq_, and json_refs_.
|
inlineoverrideprivate |
Definition at line 67 of file MarleyParameterSetWalker.h.
References json_refs_.
|
inline |
Definition at line 29 of file MarleyParameterSetWalker.h.
References full_json_.
Referenced by evgen::MARLEYHelper::reconfigure().
|
inline |
Definition at line 30 of file MarleyParameterSetWalker.h.
References full_json_.
|
private |
Owned JSON object used to store the converted FHiCL parameters.
Definition at line 76 of file MarleyParameterSetWalker.h.
Referenced by get_json().
|
private |
Definition at line 82 of file MarleyParameterSetWalker.h.
Referenced by atom(), enter_sequence(), and exit_sequence().
|
private |
References to the owned JSON object or a sub-object thereof.
Definition at line 79 of file MarleyParameterSetWalker.h.
Referenced by atom(), enter_sequence(), enter_table(), exit_sequence(), and exit_table().
|
private |
Definition at line 81 of file MarleyParameterSetWalker.h.
Referenced by atom(), and enter_sequence().