| 316 | } |
| 317 | |
| 318 | void addRow(const std::vector<std::string> &row) |
| 319 | { |
| 320 | if (row.size() != header.size()) |
| 321 | { |
| 322 | throw std::invalid_argument("Row size must match header size"); |
| 323 | } |
| 324 | rows.push_back(row); |
| 325 | updateColumnWidths(row); |
| 326 | } |
| 327 | |
| 328 | template <typename StreamType> |
| 329 | void print(StreamType &stream) const |
no outgoing calls
no test coverage detected