rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
map.hpp File Reference

write/read std::map to/from a YAML tree. More...

#include "c4/yml/node.hpp"
#include <map>

Go to the source code of this file.

Namespaces

namespace  c4
namespace  c4::yml

Functions

template<class K, class V, class Less, class Alloc>
void c4::yml::write (c4::yml::Tree *tree, c4::yml::id_type id, std::map< K, V, Less, Alloc > const &m)
 serialize a map to a node: implementation for Tree
template<class K, class V, class Less, class Alloc>
void c4::yml::write (c4::yml::NodeRef *n, std::map< K, V, Less, Alloc > const &m)
 serialize a map to a node: implementation for NodeRef
template<class K, class V, class Less, class Alloc>
ReadResult c4::yml::read (c4::yml::Tree const *tree, c4::yml::id_type id, std::map< K, V, Less, Alloc > *m)
 deserialize a map from a node: implementation for Tree .
template<class K, class V, class Less, class Alloc>
ReadResult c4::yml::read (c4::yml::ConstNodeRef const &n, std::map< K, V, Less, Alloc > *m)
 deserialize a map from a node: implementation for ConstNodeRef .

Detailed Description

write/read std::map to/from a YAML tree.

Definition in file map.hpp.