13#include "iohb_export.h"
19 Layout(
bool show_labels,
int precision, std::string separator,
int field_width);
25 void add_literal(
const std::string &label);
26 void add_legend(
const std::string &label);
28 template <
typename T>
void add(
const std::string &name,
const T &value);
29 template <
typename T>
void add(
const std::string &name,
const std::vector<T> &value);
32 void output_common(
const std::string &name);
bool showLabels
Definition Iohb_Layout.h:39
std::string separator_
Definition Iohb_Layout.h:34
int count_
Definition Iohb_Layout.h:37
Layout(bool show_labels, int precision, std::string separator, int field_width)
Definition Iohb_Layout.C:14
Layout & operator=(const Layout &)=delete
bool legendStarted
Definition Iohb_Layout.h:40
Layout(const Layout &)=delete
int fieldWidth_
Definition Iohb_Layout.h:38
std::ostringstream layout_
Definition Iohb_Layout.h:33
int precision_
Definition Iohb_Layout.h:36
const std::string layout() const
Definition Iohb_Layout.h:23
A namespace for the heartbeat database format.
Definition Iohb_DatabaseIO.C:102