#include <ValuePrinter.h>
Public Member Functions | |
ValuePrinter (std::string const &key, unsigned initial_indent_level=0) | |
std::string | result () const |
Public Member Functions inherited from fhicl::ParameterSetWalker | |
virtual | ~ParameterSetWalker () noexcept=default |
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 (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 | before_action (key_t const &, any_t const &, ParameterSet const *) override |
void | after_action (key_t const &) override |
void | push_size_ (any_t const &) |
void | pop_size_ () |
std::string | maybe_indent_ (std::size_t) |
std::string | maybe_nl_ (std::size_t) |
Private Attributes | |
std::ostringstream | buffer_ {} |
std::string | key_ |
Indentation | indent_ |
std::stack< std::size_t > | sequence_sizes_ |
std::size_t | seq_size_ |
std::size_t | table_size_ |
bool | print_encapsulated_values_ {false} |
Additional Inherited Members | |
Public Types inherited from fhicl::ParameterSetWalker | |
using | key_t = std::string |
using | any_t = std::any |
Definition at line 86 of file ValuePrinter.h.
ValuePrinter::ValuePrinter | ( | std::string const & | key, |
unsigned | initial_indent_level = 0 |
||
) |
Definition at line 18 of file ValuePrinter.cc.
|
overrideprivatevirtual |
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 42 of file ValuePrinter.cc.
Implements fhicl::ParameterSetWalker.
Definition at line 106 of file ValuePrinter.cc.
|
overrideprivatevirtual |
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 29 of file ValuePrinter.cc.
Implements fhicl::ParameterSetWalker.
Definition at line 73 of file ValuePrinter.cc.
Implements fhicl::ParameterSetWalker.
Definition at line 52 of file ValuePrinter.cc.
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 83 of file ValuePrinter.cc.
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 61 of file ValuePrinter.cc.
|
private |
Definition at line 131 of file ValuePrinter.cc.
|
private |
Definition at line 137 of file ValuePrinter.cc.
|
private |
Definition at line 124 of file ValuePrinter.cc.
|
private |
Definition at line 117 of file ValuePrinter.cc.
|
inline |
Definition at line 91 of file ValuePrinter.h.
|
private |
Definition at line 116 of file ValuePrinter.h.
|
private |
Definition at line 118 of file ValuePrinter.h.
|
private |
Definition at line 117 of file ValuePrinter.h.
|
private |
Definition at line 122 of file ValuePrinter.h.
|
private |
Definition at line 120 of file ValuePrinter.h.
|
private |
Definition at line 119 of file ValuePrinter.h.
|
private |
Definition at line 121 of file ValuePrinter.h.