#include <osvr/Util/CSV.h>
Public Member Functions | |
void | output (std::ostream &os) const |
![]() | |
RowProxy | row () |
std::size_t | numDataRows () const |
std::size_t | numRows () const |
Additional Inherited Members | |
![]() | |
void | prepareForRow () |
Called by CSVRowProxy life cycle, on row creation. | |
void | dataForLatestRow (std::string const &heading, std::string const &data) |
Called by CSVRowProxy life cycle, on cell addition. | |
void | finalizeLatestRow () |
DataRow & | latestRow () |
void | outputRow (std::ostream &os, DataRow const &row) const |
void | outputData (std::ostream &os) const |
Called by derived classes to output stored data rows. | |
void | moveLatestRowToData () |
utility function for use in derived finalizeLatestRow() | |
The "traditional" CSV class: get all your data set up ahead of time. When you're ready to get your output, hand an ostream (like std::cout or your favorite std::ofstream) to .output()
|
inline |