csv_format.h File Reference

Go to the source code of this file.

Namespaces

 illumina
 
 illumina::interop
 
 illumina::interop::io
 
 illumina::interop::io::table
 

Functions

template<typename T >
void read_csv_line (std::istream &in, std::vector< T > &values, const T missing=T())
 
template<typename T >
read_value (std::istream &in, std::string &buf, const char delim=',')
 
template<typename T >
void read_value (std::istream &in, T &dest, std::string &buf, const char delim=',')
 
template<typename I >
void read_csv (std::istream &in, I beg, I end, const char delim=',')
 
template<class T >
const T & handle_nan (const T &val)
 
float handle_nan (const float val)
 
double handle_nan (const double val)
 
template<typename I >
void write_csv (std::ostream &out, I beg, I end, const char eol, const size_t precision=10)
 
template<typename T >
void write_csv_line (std::ostream &out, const std::vector< T > &values, const size_t beg=0, size_t last=0)
 

Detailed Description

Write data in the CSV format

Date
6/22/16
Version
1.0