#include <CbmYaml.h>
|
| template<typename T> |
| std::string | operator() (const T &object, int floatPrecision=6) |
| | Dumps an object into YAML-formatted string.
|
| |
| template<typename T> |
| void | DoDump (const T &object, YAML::Emitter &ss, std::optional< YAML::EMITTER_MANIP > formatEntries={}) |
| |
Definition at line 213 of file CbmYaml.h.
◆ DoDump()
template<typename T>
| void cbm::util::yaml::Dump::DoDump |
( |
const T & | object, |
|
|
YAML::Emitter & | ss, |
|
|
std::optional< YAML::EMITTER_MANIP > | formatEntries = {} ) |
|
inline |
◆ operator()()
template<typename T>
| std::string cbm::util::yaml::Dump::operator() |
( |
const T & | object, |
|
|
int | floatPrecision = 6 ) |
|
inline |
Dumps an object into YAML-formatted string.
- Template Parameters
-
- Parameters
-
| object | An object to be dumped |
| floatPrecision | Precision of floats in the output |
Definition at line 221 of file CbmYaml.h.
References DoDump().
The documentation for this class was generated from the following file: