int stringWrap(std::vector< std::string > &lines, const std::string &str, int width)
Wrap a string by breaking it into smaller sized portions of a desired width.
std::vector< int > m_colWidths
The widths of each column, not including the separator.
void addCell(size_t row, size_t col, const std::string &cell)
Add one cell to the table, overwriting if it already exists.
std::vector< std::vector< std::vector< std::string > > > m_rows
The table cells.
declares and defines a simple text table manager