rapidyaml 0.15.2
parse and emit YAML, and do it fast
Loading...
Searching...
No Matches
vector.hpp File Reference
#include "c4/yml/node.hpp"
#include <c4/std/vector.hpp>
#include <vector>

Go to the source code of this file.

Namespaces

namespace  c4
namespace  c4::yml

Functions

template<class T, class Alloc>
void c4::yml::write (Tree *tree, id_type id, std::vector< T, Alloc > const &vec)
 serialize a vector to a node: implementation for Tree
template<class T, class Alloc>
void c4::yml::write (NodeRef *n, std::vector< T, Alloc > const &vec)
 serialize a vector to a node: implementation for NodeRef
template<class T, class Alloc>
ReadResult c4::yml::read (Tree const *tree, id_type id, std::vector< T, Alloc > *vec)
 deserialize from a Tree node, overwriting existing vector entries.
template<class T, class Alloc>
ReadResult c4::yml::read (ConstNodeRef const &node, std::vector< T, Alloc > *vec)
 deserialize from a ConstNodeRef node, overwriting existing vector entries.
template<class Alloc>
ReadResult c4::yml::read (Tree const *tree, id_type id, std::vector< bool, Alloc > *vec)
 deserialize from a Tree node, overwriting existing vector entries.
template<class Alloc>
ReadResult c4::yml::read (ConstNodeRef const &n, std::vector< bool, Alloc > *vec)
 deserialize from a ConstNodeRef node, overwriting existing vector entries.