Table
Boost Software License Version 1.0. See LICENSE_BOOST.txt for details. Alternatively, this file may be distributed under the terms of the Tango 3-Clause BSD License (see LICENSE_BSD.txt for details).
Copyright (c) 2009-2016 dunnhumby Germany GmbH. All rights reserved.
Classes to draw auto-formatted tables to the console.
The number of columns in the table must be specified either at construction, or by calling the init() method. Rows can be be added using the firstRow() & nextRow() methods. (firstRow() is essentially a reset method.)
Usage example:
It's also possible to draw smart tables where certain cells in some rows are merged together, something like this, for example:
In this example, columns 0 & 1 and 2 & 3 in row 1 are merged.
Merged cells usage example: