|
rapidyaml
0.13.0
parse and emit YAML, and do it fast
|
Functions | |
| template<class Arg , class... Args> | |
| size_t | c4::cat (substr buf, Arg const &a, Args const &...more) |
| serialize the arguments, concatenating them to the given fixed-size buffer. More... | |
| template<class... Args> | |
| substr | c4::cat_sub (substr buf, Args const &...args) |
| like c4::cat() but return a substr instead of a size More... | |
| template<class CharOwningContainer , class... Args> | |
| void | c4::catrs (CharOwningContainer *cont, Args const &...args) |
| cat+resize: like c4::cat(), but receives a container, and resizes it as needed to contain the result. More... | |
| template<class CharOwningContainer , class... Args> | |
| CharOwningContainer | c4::catrs (Args const &...args) |
| cat+resize: like c4::cat(), but creates and returns a new container sized as needed to contain the result. More... | |
| template<class CharOwningContainer , class... Args> | |
| csubstr | c4::catrs_append (CharOwningContainer *cont, Args const &...args) |
| cat+resize+append: like c4::cat(), but receives a container, and appends to it instead of overwriting it. More... | |
| size_t c4::cat | ( | substr | buf, |
| Arg const & | a, | ||
| Args const &... | more | ||
| ) |
serialize the arguments, concatenating them to the given fixed-size buffer.
The buffer size is strictly respected: no writes will occur beyond its end.
Definition at line 653 of file format.hpp.
| substr c4::cat_sub | ( | substr | buf, |
| Args const &... | args | ||
| ) |
|
inline |
cat+resize: like c4::cat(), but receives a container, and resizes it as needed to contain the result.
The container is overwritten. To append to it, use c4::catrs_append().
Definition at line 1044 of file format.hpp.
|
inline |
cat+resize: like c4::cat(), but creates and returns a new container sized as needed to contain the result.
Definition at line 1079 of file format.hpp.
|
inline |
cat+resize+append: like c4::cat(), but receives a container, and appends to it instead of overwriting it.
The container is resized as needed to contain the result.
Definition at line 1113 of file format.hpp.