rapidyaml  0.16.0
parseandemitYAML,anddoitfast
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

 c4
 
 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 More...
 
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 More...
 
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 . More...
 
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 . More...
 

Detailed Description

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

Definition in file map.hpp.