33 #ifndef IOSS_Iohb_Layout_h 34 #define IOSS_Iohb_Layout_h 45 Layout(
bool show_labels,
int precision, std::string separator,
int field_width);
55 void add(
const std::string &
name,
double value);
56 void add(
const std::string &name,
int value);
57 void add(
const std::string &name,
long value);
58 void add(
const std::string &name,
const std::string &value);
60 void add(
const std::string &name, std::vector<double> &value);
61 void add(
const std::string &name, std::vector<int> &value);
62 void add(
const std::string &name, std::vector<long> &value);
63 void add(
const std::string &name, std::vector<std::string> &value);
77 #endif // IOSS_Iohb_Layout_h int precision_
Definition: Iohb_Layout.h:69
friend std::ostream & operator<<(std::ostream &, Layout &)
Definition: Iohb_Layout.C:47
int count_
Definition: Iohb_Layout.h:70
std::string separator_
Definition: Iohb_Layout.h:67
int fieldWidth_
Definition: Iohb_Layout.h:71
void add_legend(const std::string &label)
Definition: Iohb_Layout.C:55
Layout & operator=(const Layout &)=delete
std::string name(Ioss::GroupingEntity *entity)
Definition: io_info.C:71
A namespace for the heartbeat database format.
Definition: Iohb_DatabaseIO.C:146
void add(const std::string &name, double value)
Definition: Iohb_Layout.C:72
std::ostringstream layout_
Definition: Iohb_Layout.h:66
Layout(bool show_labels, int precision, std::string separator, int field_width)
Definition: Iohb_Layout.C:39
void add_literal(const std::string &label)
Definition: Iohb_Layout.C:53
bool legendStarted
Definition: Iohb_Layout.h:73
bool showLabels
Definition: Iohb_Layout.h:72
Definition: Iohb_Layout.h:42