Table

Table

Constructors

this
this()

Constructor.

this
this(size_t num_columns)

Constructor. Sets the number of columns in the table.

Members

Aliases

Cell
alias Cell = Row.Cell

Convenience alias, allows the Cell struct to be accessed from the outside as Table.Cell.

Output
alias Output = FormatOutput

Alias for a console outputter (basically Stdout / Stderr)

Classes

Row
class Row

Row

Functions

currentRow
Row currentRow()

Gets the current row in the table.

display
void display(Output output)

Displays the table to the specified output.

firstRow
Row firstRow()

Gets the first row in the table.

init
void init(size_t num_columns)

Init method. Must be called before any other methods are used.

nextRow
Row nextRow()

Gets the next row in the table, adding a new row if the current row is currently the last.

Meta