| 157 | } |
| 158 | |
| 159 | inline std::string TextTable::toString (std::string_view rowPrefix, |
| 160 | std::string_view columnSeparator, |
| 161 | std::string_view rowSuffix) const |
| 162 | { |
| 163 | std::string result; |
| 164 | |
| 165 | for (auto& row : getRows (rowPrefix, columnSeparator, rowSuffix)) |
| 166 | result += row; |
| 167 | |
| 168 | return result; |
| 169 | } |
| 170 | |
| 171 | inline std::vector<size_t> TextTable::getColumnWidths() const |
| 172 | { |