OSVR-Core
Classes | Namespaces | Functions
CSV.h File Reference

Header. More...

#include <cassert>
#include <iomanip>
#include <limits>
#include <sstream>
#include <string>
#include <type_traits>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

class  osvr::util::CSVBase< Derived >
 (Base) Class for easily outputting CSV files. More...
 
class  osvr::util::detail::CellBase< T >
 
class  osvr::util::detail::Cell< T, HeaderType >
 Utility class used in conjunction with osvr::util::CSV, to store a single table cell's column header and data value temporarily until it is added to the row. More...
 
class  osvr::util::detail::Cell< T, std::string >
 
struct  osvr::util::detail::CellStreamPrep< T, Dummy >
 
struct  osvr::util::detail::CellStreamPrep< T, typename std::enable_if< std::is_floating_point< T >::value >::type >
 
class  osvr::util::detail::CSVRowProxy< Derived >
 Returned by calls to .row() on a CSV object (you'll never need instantiate manually), and only really interacted with using the operator<< and cell() calls. More...
 
class  osvr::util::detail::CSVCommonBase
 Truly shared base class for all CSV implementations. More...
 
class  osvr::util::CSVBase< Derived >
 (Base) Class for easily outputting CSV files. More...
 
class  osvr::util::CSV
 The "traditional" CSV class: get all your data set up ahead of time. More...
 
class  osvr::util::StreamCSV
 A CSV object taking a reference to an ostream that should remain valid throughout the entire lifetime of this object. More...
 

Namespaces

 osvr
 The main namespace for all C++ elements of the framework, internal and external.
 
 osvr::util
 The Util library: Functionality not necessarily coupled to any particular core library, serving more as a common base layer behind all systems.
 

Functions

template<typename T >
void osvr::util::detail::prepareStream (std::ostream &os, T const &cell)
 Invokes the trait to prepare a stream for a data type.
 
template<typename Derived , typename... CellArgs>
CSVRowProxy< Derived > && osvr::util::detail::operator<< (CSVRowProxy< Derived > &&row, Cell< CellArgs... > const &cell)
 Left-shift/redirection operator to add a cell to a row proxy object.
 
template<typename Derived , typename... CellArgs>
CSVRowProxy< Derived > & osvr::util::detail::operator<< (CSVRowProxy< Derived > &row, Cell< CellArgs... > const &cell)
 Left-shift/redirection operator to add a cell to a row proxy object.
 
template<typename T >
detail::Cell< Tosvr::util::cell (const char *header, T const &data)
 Helper free function to make a CSV cell.
 
template<typename T >
detail::Cell< Tosvr::util::cell (std::string const &header, T const &data)
 Helper free function to make a CSV cell.
 

Detailed Description

Header.

Date
2015
Author
Sensics, Inc. http://sensics.com/osvr