OSVR-Core  0.6-1962-g59773924
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
osvr::util::CellGroupProxy< RowProxyType, GroupTag > Class Template Reference

#include <osvr/Util/CSVCellGroup.h>

Detailed Description

template<typename RowProxyType, typename GroupTag = DefaultGroupTag>
class osvr::util::CellGroupProxy< RowProxyType, GroupTag >

A class that exists to make it easier to output composite data structures to CSV. You can overload `void operator<<(CellGroupProxy<RowProxyType, GroupTag> &group, YourThing const& d), doinggroup << cell("Item", d.item)`, etc. then invoke it just by passing an object of that type to cellGroup(), which takes an optional first parameter, a prefix to appead to all the headings.

Definition at line 51 of file CSVCellGroup.h.


The documentation for this class was generated from the following file: