#include <cbeam/container/nested_map.hpp>
#include <cbeam/convert/map.hpp>
#include <cbeam/convert/string.hpp>
#include <ostream>
#include <string>
#include <type_traits>
Go to the source code of this file.
|
namespace | cbeam |
| The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurrency, memory management, file handling, logging, serialization, and more. Its purpose is to provide a cohesive collection of modern C++ components that address common system-level and application-level tasks, while promoting thread-safety, interprocess communication, and stable resource handling across varied platform APIs.
|
|
namespace | cbeam::convert |
| Contains conversion utilities to transform data between different formats and types. Functions here handle string conversions, encoding manipulations, and the creation of string representations for various C++ types. They help ensure consistent serialization and text output across the library.
|
|
|
template<typename Key, typename Value> |
std::string | cbeam::convert::to_string (const container::nested_map< Key, Value > &map, const int indentation) |
| Converts a nested_map to a formatted std::string with specified indentation.
|
|
template<typename Key, typename Value> |
std::string | cbeam::convert::to_string (container::nested_map< Key, Value > &map, const int indentation) |
|
template<typename Key, typename Value> |
std::string | cbeam::convert::to_string (const std::map< Key, container::nested_map< Key, Value > > &nested_maps, const int indentation) |
| Converts a std::map of nested_maps to a formatted std::string with specified indentation.
|
|
template<typename Key, typename Value> |
std::string | cbeam::convert::to_string (const std::map< Key, container::nested_map< Key, Value > > &nested_maps) |
| Converts a std::map of nested_maps to a formatted std::string.
|
|
template<typename Key, typename Value> |
std::string | cbeam::convert::to_string (const container::nested_map< Key, Value > &map) |
| Converts a nested_map to a formatted std::string.
|
|
template<typename T> |
std::enable_if< is_nested_map< T >::value, std::string >::type | cbeam::convert::to_string (const T &table) |
| Converts a table to a formatted std::string, provided the table is a nested_map.
|
|