47 template <
typename Map>
59 using Key =
typename Map::key_type;
60 using Value =
typename Map::mapped_type;
68 for (
const auto& [k, v] : map.data)
88 for (
const auto& [subkey, submap] : map.sub_tables)
118 template <
typename Key,
typename Value>
128 template <
typename Key,
typename Value>
Manages memory a byte buffer, offering dynamic appending. This class is designed for scenarios where ...
Definition buffer.hpp:50
virtual void append(const void *buffer_to_append, const std::size_t length_of_buffer)
append the given buffer to the end of the current buffer. If there is no current buffer yet,...
Definition buffer.hpp:96
Offers advanced container types with unique approaches to stability and interprocess sharing....
Definition buffer.hpp:44
Provides JSON-style and nested-map serialization features. It offers methods to convert a wide range ...
Definition map.hpp:37
The root namespace for the Cbeam library. This namespace unifies cross-platform utilities for concurr...
Definition message_manager.hpp:47
A map structure that can store nested maps of keys and values. By including serialization/nested_map....
Definition nested_map.hpp:44
Generic serializer for nested_map<Key, Value> types.
Definition nested_map.hpp:49
static void serialize(const Map &map, container::buffer &stream)
Serializes a nested map to JSON-like text, appending it to a buffer.
Definition nested_map.hpp:56
static void serialize(const cbeam::container::nested_map< Key, Value > &map, container::buffer &stream)
Definition nested_map.hpp:121
static void serialize(const cbeam::container::nested_map< Key, Value > &map, container::buffer &stream)
Definition nested_map.hpp:131
Defines the traits required for serializing and deserializing objects of type T.
Definition traits.hpp:56
static void serialize(const T &val, container::buffer &stream)
Required to serialize an object of type T into a shared_buffer stream.
Definition traits.hpp:67