38 template <
typename Key,
typename Value>
39 inline std::string
to_string(
const container::nested_map<Key, Value>& map,
const int indentation);
41 template <
typename Key,
typename Value>
57 template <
typename Key,
typename Value>
60 std::ostringstream os;
61 for (
const auto& it : nested_maps)
81 template <
typename Key,
typename Value>
99 template <
typename Key,
typename Value>
117 template <
typename Key,
typename Value>
134 template <
typename T>
135 inline typename std::enable_if<is_nested_map<T>::value, std::string>::type
to_string(
const T& table)
137 using DataTableType =
typename std::decay_t<
decltype(table)>;
138 using KeyType =
typename DataTableType::key_type;
139 using ValueType =
typename DataTableType::mapped_type;
Contains conversion utilities to transform data between different formats and types....
Definition buffer.hpp:35
std::string to_string(const container::buffer &b)
Creates a std::string from the contents of a container::buffer.
Definition buffer.hpp:42
std::string indent(int indentation)
Returns a string consisting of indentation tab characters.
Definition string.hpp:54
A map structure that can store nested maps of keys and values. By including serialization/nested_map....
Definition nested_map.hpp:44
nested_tables sub_tables
list of sub tables, each having a unique name
Definition nested_map.hpp:61
table_of_values data
key value pairs of Value instances that store the actual data
Definition nested_map.hpp:60