#include <MarleyParameterSetWalker.h>
|
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 |
|
Definition at line 26 of file MarleyParameterSetWalker.h.
void evgen::MarleyParameterSetWalker::atom |
( |
const key_t & |
key, |
|
|
const any_t & |
any |
|
) |
| |
|
inlineoverrideprivate |
Definition at line 49 of file MarleyParameterSetWalker.h.
55 marley::JSON json_atom;
57 if ( atom_val !=
"@nil" ) {
58 std::istringstream iss( atom_val );
60 json_atom = marley::parse_next( iss );
66 json[ key ] = json_atom;
std::vector< std::reference_wrapper< marley::JSON > > json_refs_
References to the owned JSON object or a sub-object thereof.
basic_json<> json
default JSON class
void evgen::MarleyParameterSetWalker::enter_sequence |
( |
const key_t & |
key, |
|
|
const any_t & |
|
|
) |
| |
|
inlineoverrideprivate |
Definition at line 41 of file MarleyParameterSetWalker.h.
46 = marley::JSON::make(marley::JSON::DataType::Array) );
std::vector< std::reference_wrapper< marley::JSON > > json_refs_
References to the owned JSON object or a sub-object thereof.
basic_json<> json
default JSON class
void evgen::MarleyParameterSetWalker::enter_table |
( |
const key_t & |
key, |
|
|
const any_t & |
|
|
) |
| |
|
inlineoverrideprivate |
Definition at line 35 of file MarleyParameterSetWalker.h.
38 = marley::JSON::make(marley::JSON::DataType::Object) );
std::vector< std::reference_wrapper< marley::JSON > > json_refs_
References to the owned JSON object or a sub-object thereof.
basic_json<> json
default JSON class
void evgen::MarleyParameterSetWalker::exit_sequence |
( |
const key_t & |
, |
|
|
const any_t & |
|
|
) |
| |
|
inlineoverrideprivate |
Definition at line 74 of file MarleyParameterSetWalker.h.
std::vector< std::reference_wrapper< marley::JSON > > json_refs_
References to the owned JSON object or a sub-object thereof.
void evgen::MarleyParameterSetWalker::exit_table |
( |
const key_t & |
, |
|
|
const any_t & |
|
|
) |
| |
|
inlineoverrideprivate |
Definition at line 70 of file MarleyParameterSetWalker.h.
std::vector< std::reference_wrapper< marley::JSON > > json_refs_
References to the owned JSON object or a sub-object thereof.
const marley::JSON& evgen::MarleyParameterSetWalker::get_json |
( |
| ) |
const |
|
inline |
Definition at line 30 of file MarleyParameterSetWalker.h.
marley::JSON full_json_
Owned JSON object used to store the converted FHiCL parameters.
marley::JSON& evgen::MarleyParameterSetWalker::get_json |
( |
| ) |
|
|
inline |
Definition at line 31 of file MarleyParameterSetWalker.h.
marley::JSON full_json_
Owned JSON object used to store the converted FHiCL parameters.
marley::JSON evgen::MarleyParameterSetWalker::full_json_ |
|
private |
bool evgen::MarleyParameterSetWalker::in_seq_ = false |
|
private |
std::vector< std::reference_wrapper<marley::JSON> > evgen::MarleyParameterSetWalker::json_refs_ = { full_json_ } |
|
private |
unsigned evgen::MarleyParameterSetWalker::seq_index_ = 0u |
|
private |
The documentation for this class was generated from the following file: