class for log formatting
More...
#include <TableFormatter.hpp>
class for log formatting
Definition at line 114 of file TableFormatter.hpp.
◆ TableTextFormatter()
geos::TableTextFormatter::TableTextFormatter |
( |
TableLayout const & |
tableLayout | ) |
|
Construct a new TableFormatter from a tableLayout.
- Parameters
-
tableLayout | Contain all column names and optionnaly the table title |
◆ layoutToString()
string geos::TableTextFormatter::layoutToString |
( |
| ) |
const |
- Returns
- A TableLayout converted into a formatted representation.
◆ toString() [1/3]
template<typename DATASOURCE >
string geos::TableTextFormatter::toString |
( |
DATASOURCE const & |
tableData | ) |
const |
Convert a data source to a table string.
- Parameters
-
tableData | The data source to convert. |
- Returns
- The table string representation of the TableData.
◆ toString() [2/3]
template<>
string geos::TableTextFormatter::toString |
( |
TableData const & |
tableData | ) |
const |
Convert a TableData to a table string.
- Parameters
-
- Returns
- The table string representation of the TableData.
◆ toString() [3/3]
Template specialisation to convert a TableFunction to a CSV string.
- Parameters
-
- Returns
- The CSV string representation of the TableFunction.
The documentation for this class was generated from the following files: