23#ifndef DOXYGEN_SHOULD_SKIP_THIS
37 if (_emptyData_)
GUM_ERROR(NullElement,
"No parsed data")
44 if (_nbLine_ == 0)
GUM_ERROR(NullElement,
"No parsed data")
Class for fast parsing of CSV file (never more than one line in application memory).
CSVParser(std::istream &in, const std::string &filename, const std::string &delimiter=",", const char commentmarker='#', const char quoteMarker='"')
default constructor
std::size_t nbLine() const
returns the current line number within the stream
const std::vector< std::string > & current() const
returns the current parsed line
#define GUM_ERROR(type, msg)
include the inlined functions if necessary
gum is the global namespace for all aGrUM entities