Vince's CSV Parser
csv::CSVFormat Struct Reference

Stores information about how to parse a CSV file. More...

#include <csv_parser.hpp>

Public Attributes

char delim
 
char quote_char
 Row number with columns (ignored if col_names is non-empty)
 
int header
 Should be left empty unless file doesn't include header.
 
std::vector< std::string > col_names
 RFC 4180 non-compliance -> throw an error.
 
bool strict
 

Detailed Description

Stores information about how to parse a CSV file.

  • Can be used to initialize a csv::CSVReader() object
  • The preferred way to pass CSV format information between functions
See also
csv::DEFAULT_CSV, csv::GUESS_CSV

Definition at line 46 of file csv_parser.hpp.


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