metric_writer Struct Reference
Public Member Functions | |
metric_writer (std::ostream &out, const size_t latest_version, const size_t max_line=80) | |
template<class MetricSet > | |
void | operator() (const MetricSet &metrics) const |
metric_writer (std::ostream &out, const std::vector< std::string > &channels) | |
template<class MetricSet > | |
void | operator() (const MetricSet &metrics) const |
Detailed Description
Call back functor for writing binary metric data as a string
Call back functor for writing text data to the output stream
Constructor & Destructor Documentation
|
inline |
Constructor
- Parameters
-
out output stream latest_version version to write out max_line number of characters before wrapping
|
inline |
Constructor
- Parameters
-
out output stream channels list of channel names
Member Function Documentation
|
inline |
Function operator overload to write data
- Parameters
-
metrics set of metrics
|
inline |
Function operator overload to write data
- Parameters
-
metrics set of metrics
The documentation for this struct was generated from the following files:
- /io/src/apps/dumpbin.cpp
- /io/src/apps/dumptext.cpp