Go to the documentation of this file.
7 #ifndef IOSS_Iohb_Layout_h
8 #define IOSS_Iohb_Layout_h
19 Layout(
bool show_labels,
int precision, std::string separator,
int field_width);
29 void add(
const std::string &
name,
double value);
30 void add(
const std::string &
name,
int value);
31 void add(
const std::string &
name,
long value);
32 void add(
const std::string &
name,
const std::string &value);
34 void add(
const std::string &
name, std::vector<double> &value);
35 void add(
const std::string &
name, std::vector<int> &value);
36 void add(
const std::string &
name, std::vector<long> &value);
37 void add(
const std::string &
name, std::vector<std::string> &value);
51 #endif // IOSS_Iohb_Layout_h
void add_literal(const std::string &label)
Definition: Iohb_Layout.C:27
bool legendStarted
Definition: Iohb_Layout.h:47
std::string separator_
Definition: Iohb_Layout.h:41
int precision_
Definition: Iohb_Layout.h:43
friend std::ostream & operator<<(std::ostream &, Layout &)
Definition: Iohb_Layout.C:21
Layout & operator=(const Layout &)=delete
void add_legend(const std::string &label)
Definition: Iohb_Layout.C:29
int fieldWidth_
Definition: Iohb_Layout.h:45
int count_
Definition: Iohb_Layout.h:44
A namespace for the heartbeat database format.
Definition: Iohb_DatabaseIO.C:120
Definition: Iohb_Layout.h:17
void add(const std::string &name, double value)
Definition: Iohb_Layout.C:46
Layout(bool show_labels, int precision, std::string separator, int field_width)
Definition: Iohb_Layout.C:13
std::ostringstream layout_
Definition: Iohb_Layout.h:40
std::string name(const Ioss::GroupingEntity *entity)
Definition: io_info.C:65
Layout(const Layout &)=delete
bool showLabels
Definition: Iohb_Layout.h:46