1 #ifndef fhiclcpp_detail_printing_helpers_h 2 #define fhiclcpp_detail_printing_helpers_h 12 #include "boost/any.hpp" 23 return std::string(i,
'\n');
26 std::string
printed_suffix(std::string
const& key, std::size_t
const sz);
31 std::string
const& cached_info);
63 std::string
value(boost::any
const&);
70 return pos != std::string::npos && pos == key.size() - 1;
76 auto pos1 = key.find_last_of(
".");
77 if (pos1 == std::string::npos)
std::string printed_suffix(std::string const &key, std::size_t const sz)
std::string print_annotated_info(std::string const &curr_info, std::string const &cached_info)
bool is_sequence_element(std::string const &key)
std::string opening_brace()
std::string print_prefix_annotated_info(std::string const &curr_info)
std::string printed_prefix(std::string const &key)
std::string value(boost::any const &)
bool is_table_member(std::string const &key)
std::string closing_brace()
std::string nl(std::size_t i=1)
std::string closing_brace()