Go to the documentation of this file.
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
void add_literal(const std::string &label)
Definition: Iohb_Layout.C:53
bool legendStarted
Definition: Iohb_Layout.h:73
std::string separator_
Definition: Iohb_Layout.h:67
int precision_
Definition: Iohb_Layout.h:69
friend std::ostream & operator<<(std::ostream &, Layout &)
Definition: Iohb_Layout.C:47
Layout & operator=(const Layout &)=delete
void add_legend(const std::string &label)
Definition: Iohb_Layout.C:55
int fieldWidth_
Definition: Iohb_Layout.h:71
int count_
Definition: Iohb_Layout.h:70
A namespace for the heartbeat database format.
Definition: Iohb_DatabaseIO.C:146
Definition: Iohb_Layout.h:42
void add(const std::string &name, double value)
Definition: Iohb_Layout.C:72
Layout(bool show_labels, int precision, std::string separator, int field_width)
Definition: Iohb_Layout.C:39
std::ostringstream layout_
Definition: Iohb_Layout.h:66
std::string name(const Ioss::GroupingEntity *entity)
Definition: io_info.C:89
bool showLabels
Definition: Iohb_Layout.h:72