CbmRoot
Loading...
Searching...
No Matches
cbm::util::yaml::Dump Class Reference

#include <CbmYaml.h>

Public Member Functions

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={})
 

Detailed Description

Definition at line 213 of file CbmYaml.h.

Member Function Documentation

◆ DoDump()

template<typename T>
void cbm::util::yaml::Dump::DoDump ( const T & object,
YAML::Emitter & ss,
std::optional< YAML::EMITTER_MANIP > formatEntries = {} )
inline

Definition at line 232 of file CbmYaml.h.

Referenced by operator()(), and CbmOnlineParWrite::UpdateParFiles().

◆ 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
TObject type
Parameters
objectAn object to be dumped
floatPrecisionPrecision 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: