#include <Prettifier.h>
Public Member Functions | |
Prettifier (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 | 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_ {} |
Indentation | indent_ |
std::stack< std::size_t > | sequence_sizes_ |
std::size_t | seq_size_ |
std::size_t | table_size_ |
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 Prettifier.h.
Prettifier::Prettifier | ( | unsigned | initial_indent_level = 0 | ) |
Definition at line 18 of file Prettifier.cc.
Implements fhicl::ParameterSetWalker.
Definition at line 85 of file Prettifier.cc.
|
overrideprivatevirtual |
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 27 of file Prettifier.cc.
Implements fhicl::ParameterSetWalker.
Definition at line 56 of file Prettifier.cc.
Implements fhicl::ParameterSetWalker.
Definition at line 39 of file Prettifier.cc.
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 64 of file Prettifier.cc.
Reimplemented from fhicl::ParameterSetWalker.
Definition at line 46 of file Prettifier.cc.
|
private |
Definition at line 108 of file Prettifier.cc.
|
private |
Definition at line 114 of file Prettifier.cc.
|
private |
Definition at line 101 of file Prettifier.cc.
|
private |
Definition at line 94 of file Prettifier.cc.
|
inline |
Definition at line 91 of file Prettifier.h.
|
private |
Definition at line 114 of file Prettifier.h.
|
private |
Definition at line 115 of file Prettifier.h.
|
private |
Definition at line 117 of file Prettifier.h.
|
private |
Definition at line 116 of file Prettifier.h.
|
private |
Definition at line 118 of file Prettifier.h.