25 #ifndef _TABLE_TABLEWRITER_H 26 #define _TABLE_TABLEWRITER_H 76 virtual void addComment(
const std::string& comment) = 0;
103 virtual void init(
const Table& table) = 0;
std::unique_ptr< ColumnInfo > m_column_info
virtual ~TableWriter()=default
virtual void init(const Table &table)=0
Initializes the output header based on the given table columns.
virtual void addComment(const std::string &comment)=0
Adds a comment to the output table.
virtual void append(const Table &table)=0
Appends to the output the contents of the given table.
Interface for classes writing tables.
void addData(const Table &table)
Appends the contents of the given table to the output.
TableWriter & operator=(TableWriter &&)=default