LArSoft
v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
|
#include "PrettifierPrefixAnnotated.h"
Public Types | |
using | name_t = std::string |
using | key_t = std::string |
using | any_t = boost::any |
Public Member Functions | |
PrettifierPrefixAnnotated () | |
std::string | result () const |
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 () |
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 | before_action (key_t const &, any_t const &, ParameterSet const *) override |
void | enter_table (key_t const &, any_t const &) override |
void | enter_sequence (key_t const &, any_t const &) override |
void | exit_table (key_t const &, any_t const &) override |
void | exit_sequence (key_t const &, any_t const &) override |
void | atom (key_t const &, any_t const &) override |
void | push_size_ (any_t const &) |
void | pop_size_ () |
std::string | print_full_key_ (name_t const &k) const |
Private Attributes | |
std::stringstream | buffer_ |
Indentation | indent_ |
std::string | info_ |
std::stack< std::size_t > | sequence_sizes_ |
std::size_t | curr_size_ |
std::vector< name_t > | name_stack_ |
Definition at line 148 of file PrettifierPrefixAnnotated.h.
|
inherited |
Definition at line 80 of file ParameterSetWalker.h.
|
inherited |
Definition at line 79 of file ParameterSetWalker.h.
using fhicl::detail::PrettifierPrefixAnnotated::name_t = std::string |
Definition at line 150 of file PrettifierPrefixAnnotated.h.
PrettifierPrefixAnnotated::PrettifierPrefixAnnotated | ( | ) |
Definition at line 12 of file PrettifierPrefixAnnotated.cc.
References curr_size_, info_, name_stack_, and sequence_sizes_.
Implements fhicl::ParameterSetWalker.
Definition at line 76 of file PrettifierPrefixAnnotated.cc.
References buffer_, indent_, info_, fhicl::detail::nl(), print_full_key_(), fhicl::detail::print_prefix_annotated_info(), fhicl::detail::atom::printed_prefix(), fhicl::detail::printed_suffix(), sequence_sizes_, and fhicl::detail::atom::value().
Referenced by result().
|
overrideprivatevirtual |
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 23 of file PrettifierPrefixAnnotated.cc.
References fhicl::ParameterSet::get_src_info(), and info_.
Referenced by result().
|
inlineinherited |
Definition at line 104 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::after_action().
Referenced by fhicl::ParameterSet::walk().
Definition at line 93 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::atom().
Referenced by fhicl::ParameterSet::walk().
|
inlineinherited |
Definition at line 99 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::before_action().
Referenced by fhicl::ParameterSet::walk().
|
inlineinherited |
Definition at line 88 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::enter_sequence().
Referenced by fhicl::ParameterSet::walk().
Definition at line 83 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::enter_table().
Referenced by fhicl::ParameterSet::walk().
|
inlineinherited |
Definition at line 115 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 110 of file ParameterSetWalker.h.
References fhicl::ParameterSetWalker::exit_table().
Referenced by fhicl::ParameterSet::walk().
|
overrideprivatevirtual |
Implements fhicl::ParameterSetWalker.
Definition at line 54 of file PrettifierPrefixAnnotated.cc.
References buffer_, indent_, info_, fhicl::detail::nl(), print_full_key_(), fhicl::detail::print_prefix_annotated_info(), fhicl::detail::sequence::printed_prefix(), fhicl::detail::Indentation::push(), and push_size_().
Referenced by result().
|
overrideprivatevirtual |
Implements fhicl::ParameterSetWalker.
Definition at line 33 of file PrettifierPrefixAnnotated.cc.
References buffer_, indent_, info_, name_stack_, fhicl::detail::nl(), print_full_key_(), fhicl::detail::print_prefix_annotated_info(), fhicl::detail::table::printed_prefix(), and fhicl::detail::Indentation::push().
Referenced by result().
|
overrideprivatevirtual |
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 64 of file PrettifierPrefixAnnotated.cc.
References buffer_, fhicl::detail::sequence::closing_brace(), indent_, fhicl::detail::nl(), fhicl::detail::Indentation::pop(), pop_size_(), fhicl::detail::printed_suffix(), and sequence_sizes_.
Referenced by result().
|
overrideprivatevirtual |
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 43 of file PrettifierPrefixAnnotated.cc.
References buffer_, fhicl::detail::table::closing_brace(), indent_, name_stack_, fhicl::detail::nl(), fhicl::detail::Indentation::pop(), fhicl::detail::printed_suffix(), and sequence_sizes_.
Referenced by result().
|
private |
Definition at line 93 of file PrettifierPrefixAnnotated.cc.
References curr_size_, and sequence_sizes_.
Referenced by exit_sequence(), and result().
|
private |
Definition at line 100 of file PrettifierPrefixAnnotated.cc.
References name_stack_.
Referenced by atom(), enter_sequence(), enter_table(), and result().
|
private |
Definition at line 86 of file PrettifierPrefixAnnotated.cc.
References curr_size_, and sequence_sizes_.
Referenced by enter_sequence(), and result().
|
inline |
Definition at line 155 of file PrettifierPrefixAnnotated.h.
References atom(), before_action(), buffer_, enter_sequence(), enter_table(), exit_sequence(), exit_table(), pop_size_(), print_full_key_(), and push_size_().
Referenced by fhicl::ParameterSet::to_indented_string().
|
private |
Definition at line 177 of file PrettifierPrefixAnnotated.h.
Referenced by atom(), enter_sequence(), enter_table(), exit_sequence(), exit_table(), and result().
|
private |
Definition at line 181 of file PrettifierPrefixAnnotated.h.
Referenced by pop_size_(), PrettifierPrefixAnnotated(), and push_size_().
|
private |
Definition at line 178 of file PrettifierPrefixAnnotated.h.
Referenced by atom(), enter_sequence(), enter_table(), exit_sequence(), and exit_table().
|
private |
Definition at line 179 of file PrettifierPrefixAnnotated.h.
Referenced by atom(), before_action(), enter_sequence(), enter_table(), and PrettifierPrefixAnnotated().
|
private |
Definition at line 182 of file PrettifierPrefixAnnotated.h.
Referenced by enter_table(), exit_table(), PrettifierPrefixAnnotated(), and print_full_key_().
|
private |
Definition at line 180 of file PrettifierPrefixAnnotated.h.
Referenced by atom(), exit_sequence(), exit_table(), pop_size_(), PrettifierPrefixAnnotated(), and push_size_().