Vince's CSV Parser
csv_reader.cpp File Reference

Defines functionality needed for basic CSV parsing. More...

#include "csv_reader.hpp"

Go to the source code of this file.

Namespaces

 csv
 The all encompassing namespace.
 
 csv::internals
 Stuff that is generally not of interest to end-users.
 

Functions

std::string csv::internals::format_row (const std::vector< std::string > &row, csv::string_view delim)
 
std::vector< std::string > csv::internals::_get_col_names (csv::string_view head, CSVFormat format)
 Return a CSV's column names. More...
 
GuessScore csv::internals::calculate_score (csv::string_view head, CSVFormat format)
 
CSVGuessResult csv::internals::_guess_format (csv::string_view head, const std::vector< char > &delims)
 Guess the delimiter used by a delimiter-separated values file. More...
 
std::vector< std::string > csv::get_col_names (csv::string_view filename, CSVFormat format)
 Return a CSV's column names. More...
 
CSVGuessResult csv::guess_format (csv::string_view filename, const std::vector< char > &delims)
 Guess the delimiter used by a delimiter-separated values file.
 

Detailed Description

Defines functionality needed for basic CSV parsing.

Definition in file csv_reader.cpp.