Lumiera
0.pre.03
»edit your freedom«
|
#include "lib/stat/csv.hpp"
Wrapper to simplify notation in tests.
Accepts data suitable for representation as CSV
vector<string>
, the rows can be retrieved directly and then rendered, or the operator string() can be used to retrieve the complete data set in a single string of data lines. Public Types | |
using | VecCSV = std::vector< CSVLine > |
Public Member Functions | |
CSVData (std::initializer_list< string > lines) | |
CSVData (std::initializer_list< string > header, std::initializer_list< CSVLine > data) | |
operator string () const | |