19 unsigned const initial_indent_level)
95 bool const empty_sequence =
seq_size_ == 0;
139 return sz ?
nl() :
"";
std::string printed_suffix(std::string const &key, std::size_t const sz)
std::stack< std::size_t > sequence_sizes_
void after_action(key_t const &) override
std::string printed_prefix(std::string const &key)
void exit_sequence(key_t const &, any_t const &) override
std::string maybe_nl_(std::size_t)
void push_size_(any_t const &)
bool print_encapsulated_values_
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
ValuePrinter(std::string const &key, unsigned initial_indent_level=0)
void enter_sequence(key_t const &, any_t const &) override
void atom(key_t const &, any_t const &) override
std::string printed_prefix(std::string const &key)
T get(std::string const &key) const
std::string value(std::any const &)
std::string maybe_indent_(std::size_t)
static int max(int a, int b)
static constexpr double ps
void before_action(key_t const &, any_t const &, ParameterSet const *) override
void enter_table(key_t const &, any_t const &) override
bool is_table(std::any const &val)
std::ostringstream buffer_
std::string closing_brace()
void exit_table(key_t const &, any_t const &) override
std::string printed_prefix(std::string const &key)
std::string nl(std::size_t i=1)
std::string closing_brace()