13 constexpr
auto size_t_max = std::numeric_limits<std::size_t>::max();
19 : indent_{initial_indent_level}
74 bool const empty_sequence =
seq_size_ == 0;
116 return sz ?
nl() :
"";
std::string printed_suffix(std::string const &key, std::size_t const sz)
void before_action(key_t const &, any_t const &, ParameterSet const *) override
std::string printed_prefix(std::string const &key)
Prettifier(unsigned initial_indent_level=0)
void exit_sequence(key_t const &, any_t const &) override
std::string maybe_indent_(std::size_t)
void exit_table(key_t const &, any_t const &) override
decltype(auto) constexpr size(T &&obj)
ADL-aware version of std::size.
void push_size_(any_t const &)
std::string printed_prefix(std::string const &key)
T get(std::string const &key) const
std::string value(std::any const &)
std::stack< std::size_t > sequence_sizes_
std::ostringstream buffer_
void atom(key_t const &, any_t const &) override
void enter_table(key_t const &, any_t const &) override
bool is_table(std::any const &val)
std::string maybe_nl_(std::size_t)
std::string closing_brace()
std::string printed_prefix(std::string const &key)
std::string nl(std::size_t i=1)
std::string closing_brace()
void enter_sequence(key_t const &, any_t const &) override