ra4_draw  4bd0201e3d922d42bd545d4b045ed44db33454a4
table_row.cpp
Go to the documentation of this file.
1 #include "core/table_row.hpp"
2 
3 TableRow::TableRow(const std::string &label,
4  std::size_t lines_before,
5  std::size_t lines_after):
6  label_(label),
7  cut_("1"),
8  weight_("1"),
9  lines_before_(lines_before),
10  lines_after_(lines_after),
11  is_data_row_(false){
12  }
13 
14 TableRow::TableRow(const std::string &label,
15  const NamedFunc &cut,
16  std::size_t lines_before,
17  std::size_t lines_after,
18  const NamedFunc &weight):
19  label_(label),
20  cut_(cut),
21  weight_(weight),
22  lines_before_(lines_before),
23  lines_after_(lines_after),
24  is_data_row_(true){
25  }
bool is_data_row_
Definition: table_row.hpp:28
Combines a callable function taking a Baby and returning a scalar or vector with its string represent...
Definition: named_func.hpp:13
std::size_t lines_after_
Definition: table_row.hpp:27
NamedFunc weight_
Definition: table_row.hpp:26
std::string label_
Definition: table_row.hpp:25
TableRow()=delete
std::size_t lines_before_
Definition: table_row.hpp:27
NamedFunc cut_
Definition: table_row.hpp:26