13#include "iohb_export.h"
19 Layout(
bool show_labels,
int precision, std::string separator,
int field_width);
23 const std::string
layout()
const {
return layout_.str(); }
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);
33 std::ostringstream layout_{};
34 std::string separator_{
", "};
39 bool showLabels{
true};
40 bool legendStarted{
false};
Definition Iohb_Layout.h:17
Layout & operator=(const Layout &)=delete
Layout(const Layout &)=delete
const std::string layout() const
Definition Iohb_Layout.h:23
A namespace for the heartbeat database format.
Definition Iohb_DatabaseIO.C:102