| 327 | |
| 328 | template <typename StreamType> |
| 329 | void print(StreamType &stream) const |
| 330 | { |
| 331 | if (top_header.size() > 0) |
| 332 | { |
| 333 | printHorizontalLine(stream); |
| 334 | printRow(stream, top_header, colors.top_header_color); |
| 335 | } |
| 336 | printHorizontalLine(stream); |
| 337 | printRow(stream, header, colors.header_color, true); |
| 338 | printHorizontalLine(stream); |
| 339 | for (const auto &row : rows) |
| 340 | { |
| 341 | printRow(stream, row, colors.row_color); |
| 342 | printHorizontalLine(stream); |
| 343 | } |
| 344 | } |
| 345 | |
| 346 | template <typename T> |
| 347 | static inline std::string table_string(const T &value) |
no outgoing calls
no test coverage detected