|
rapidyaml 0.14.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. | |
| template<class... Args> | |
| substr | c4::cat_sub (substr buf, Args const &...args) |
| like c4::cat() but return a substr instead of a size | |
| 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. | |
| 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. | |
| 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. | |
| 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 649 of file format.hpp.
like c4::cat() but return a substr instead of a size
Definition at line 659 of file format.hpp.
|
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 1040 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 1075 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 1109 of file format.hpp.