csvpp 1.2.0
CSV parsing / writing libraries
Loading...
Searching...
No Matches
Classes | Functions
csv Namespace Reference

CSV library namespace. More...

Classes

class  Error
 Error base class. More...
 
struct  Internal_error
 Internal error. More...
 
class  IO_error
 IO error. More...
 
class  Map_reader_iter
 Map-based Reader iterator. More...
 
class  Map_writer_iter
 Map-based Writer iterator. More...
 
struct  Out_of_range_error
 Out of range error. More...
 
class  Parse_error
 Parsing error. More...
 
class  Reader
 Parses CSV data. More...
 
struct  Type_conversion_error
 Type conversion error. More...
 
class  Writer
 CSV writer. More...
 

Functions

template<typename T , typename std::enable_if_t< std::is_convertible_v< T, std::string >, int > = 0>
std::string str (const T &t)
 String conversion.
 
std::string str (char c)
 
bool operator== (const Reader::Iterator &lhs, const Reader::Iterator &rhs)
 Compare two Reader::Iterator objects.
 
bool operator!= (const Reader::Iterator &lhs, const Reader::Iterator &rhs)
 Compare two Reader::Iterator objects.
 
template<typename T >
bool operator== (const Reader::Row::Iterator< T > &lhs, const Reader::Row::Iterator< T > &rhs)
 Compare two Reader::Row::Iterator objects.
 
template<typename T >
bool operator!= (const Reader::Row::Iterator< T > &lhs, const Reader::Row::Iterator< T > &rhs)
 Compare two Reader::Row::Iterator objects.
 
template<typename Header1 , typename Value1 , typename Header2 , typename Value2 >
bool operator== (const Map_reader_iter< Header1, Value1 > &lhs, const Map_reader_iter< Header2, Value2 > &rhs)
 Compare two Map_reader_iter objects.
 
template<typename Header1 , typename Value1 , typename Header2 , typename Value2 >
bool operator!= (const Map_reader_iter< Header1, Value1 > &lhs, const Map_reader_iter< Header2, Value2 > &rhs)
 compare two Map_reader_iter objects
 
Writerend_row (Writer &w)
 End row stream manipulator for Writer.
 

Detailed Description

CSV library namespace.