class for log formatting
More...
#include <TableFormatter.hpp>
class for log formatting
Definition at line 194 of file TableFormatter.hpp.
◆ TableTextFormatter()
geos::TableTextFormatter::TableTextFormatter |
( |
TableLayout const & |
tableLayout | ) |
|
Construct a new TableFormatter from a tableLayout.
- Parameters
-
tableLayout | Contain all tableColumnData names and optionnaly the table title |
◆ toStream() [1/2]
void geos::TableTextFormatter::toStream |
( |
std::ostream & |
outputStream | ) |
const |
|
inline |
Output the formatted data to a stream. Adds appropriate messages to the error list when the operation fails.
- See also
- toString()
- Parameters
-
outputStream | The stream to write the content to. |
Definition at line 232 of file TableFormatter.hpp.
◆ toStream() [2/2]
template<typename DATASOURCE >
void geos::TableTextFormatter::toStream |
( |
std::ostream & |
outputStream, |
|
|
DATASOURCE const & |
tableData |
|
) |
| const |
|
inline |
Output the formatted data to a stream. Adds appropriate messages to the error list when the operation fails.
- See also
- toString( DATASOURCE const & tableData )
- Template Parameters
-
DATASOURCE | The type of the source to convert |
- Parameters
-
tableData | The data source to convert. |
outputStream | The stream to write the content to. |
Definition at line 243 of file TableFormatter.hpp.
◆ toString() [1/4]
string geos::TableTextFormatter::toString |
( |
| ) |
const |
◆ toString() [2/4]
template<typename DATASOURCE >
string geos::TableTextFormatter::toString |
( |
DATASOURCE const & |
tableData | ) |
const |
Convert a data source to a table string.
- Template Parameters
-
DATASOURCE | The type of the source to convert |
- Parameters
-
tableData | The data source to convert. |
- Returns
- The table string representation of the TableData.
◆ toString() [3/4]
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() [4/4]
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: