ark::csv::CsvWriter

Defined in header “ark/csv/csv_writer.hh”.


This can write simple CSV files out to the given stream operator. The basic flow is to populate rows with content, then ask the CSV writer to emit those.

Methods

  • CsvWriter(std::ostream & output, CsvFormatConfig format_config)
    Constructor. Creates a new CSV writer, backed by the given stream operator.

  • void write_row(const CsvWriterRow & row)
    Writes the given CSV row out to the given output stream.