25#ifndef _TABLE_TABLEWRITER_H
26#define _TABLE_TABLEWRITER_H
Interface for classes writing tables.
virtual void init(const Table &table)=0
Initializes the output header based on the given table columns.
void addData(const Table &table)
Appends the contents of the given table to the output.
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.
std::unique_ptr< ColumnInfo > m_column_info
TableWriter(TableWriter &&)=default
TableWriter & operator=(TableWriter &&)=default
TableWriter(const TableWriter &)=delete
virtual ~TableWriter()=default
TableWriter & operator=(const TableWriter &)=delete