|
Evo C++ Library v0.5.1
|
#include <evo/fmt.h>
Output interface for writing text table to stream/string.
| T | String, Stream, or StreamOut object to write to |
| W | Writer to use, one of: FmtTable::CachedWriter, or FmtTable::Writer |
Public Types | |
| typedef FmtTableOut< T, W > | This |
| This type. More... | |
Public Member Functions | |
| FmtTableOut (T &out, FmtTable &table, FmtTable::Type type=FmtTable::tTEXT) | |
| Constructor. More... | |
| ~FmtTableOut () | |
| Destructor to finish writing table. More... | |
| This & | operator<< (char val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (const FmtChar &val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (const char *val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (const StringBase &val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (const FmtString &val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (short val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (int val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (long val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (longl val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (ushort val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (uint val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (ulong val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (ulongl val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (float val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (double val) |
| Write value for current column in current row and move to next column. More... | |
| This & | operator<< (ldouble val) |
| Write value for current column in current row and move to next column. More... | |
| template<class V > | |
| This & | operator<< (const FmtIntT< V > &val) |
| Write FmtIntT value for current column in current row and move to next column. More... | |
| template<class V > | |
| This & | operator<< (const FmtFloatT< V > &val) |
| Write FmtFloatT value for current column in current row and move to next column. More... | |
| template<class V > | |
| This & | operator<< (const IntegerT< V > &val) |
| Write IntegerT value for current column in current row and move to next column. More... | |
| template<class V > | |
| This & | operator<< (const FloatT< V > &val) |
| Write FloatT value for current column in current row and move to next column. More... | |
| This & | operator<< (Newline) |
| End current row. More... | |
| This & | operator<< (Flush) |
| Flush any cached output. More... | |
Public Attributes | |
| T & | out |
| Paired output string/stream to write to. More... | |
| W | writer |
| Writer to use with FmtTable. More... | |
| typedef FmtTableOut<T,W> This |
This type.
|
inline |
Constructor.
| out | Output string/stream to write to |
| table | FmtTable instance to use for column information |
| type | Output type to use – see FmtTable::Type |
|
inline |
Destructor to finish writing table.
operator<<(Flush)
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
|
inline |
Write value for current column in current row and move to next column.
| val | Value to write |
End current row.
NLFlush any cached output.
fFLUSH | T& out |
Paired output string/stream to write to.
| W writer |
Writer to use with FmtTable.
1.8.13