abstract class for formatting table data
More...
#include <TableFormatter.hpp>
|
struct | CellLayoutRow |
| Represent a row of the Table (header or values) when structured for formatting. More...
|
|
|
| TableFormatter () |
| Construct a default Table Formatter without layout specification (to only insert data in it, without any column / title). Feature is not tested.
|
|
| TableFormatter (TableLayout const &tableLayout) |
| Construct a new Table Formatter from a tableLayout. More...
|
|
void | toStreamImpl (std::ostream &outputStream, string_view content) const |
| Implements the actual writing of content to an output stream. Adds appropriate messages to the error list when the operation fails. More...
|
|
abstract class for formatting table data
Definition at line 33 of file TableFormatter.hpp.
◆ TableFormatter()
geos::TableFormatter::TableFormatter |
( |
TableLayout const & |
tableLayout | ) |
|
|
protected |
Construct a new Table Formatter from a tableLayout.
- Parameters
-
tableLayout | Contain all tableColumnData names and optionnaly the table title |
◆ getErrorsList()
◆ toStreamImpl()
void geos::TableFormatter::toStreamImpl |
( |
std::ostream & |
outputStream, |
|
|
string_view |
content |
|
) |
| const |
|
protected |
Implements the actual writing of content to an output stream. Adds appropriate messages to the error list when the operation fails.
- Parameters
-
outputStream | The stream to write the content to. |
content | The string view containing data to be written. |
The documentation for this class was generated from the following file: