Skip to content

Class Argos::XLSXExporter

ClassList > Argos > XLSXExporter

Serialize a BenchmarkResult to an XLSX stream using a pluggableExcelFormatter .

  • #include <xlsx_exporter.h>

Public Functions

Type Name
void Export (const BenchmarkResult & result, std::ostream & out) const
Build a temporary workbook, fill it via the formatter, and write the resulting XLSX bytes to out .
XLSXExporter (ExcelFormatter & formatter)
Construct an exporter that delegates to formatter .

Public Functions Documentation

function Export

Build a temporary workbook, fill it via the formatter, and write the resulting XLSX bytes to out .

void Argos::XLSXExporter::Export (
    const BenchmarkResult & result,
    std::ostream & out
) const

Parameters:

  • result Source result.
  • out Output stream receiving the XLSX file content.

function XLSXExporter

Construct an exporter that delegates to formatter .

Argos::XLSXExporter::XLSXExporter (
    ExcelFormatter & formatter
) 

Parameters:

  • formatter Formatter used by Export.


The documentation for this class was generated from the following file benchmark/exporter/xlsx_exporter.h