Vince's CSV Parser
csv_row.hpp File Reference

Defines the data type used for storing information about a CSV row. More...

#include <cmath>
#include <iterator>
#include <memory>
#include <limits>
#include <unordered_map>
#include <unordered_set>
#include <string>
#include <sstream>
#include <vector>
#include "common.hpp"
#include "data_type.hpp"
#include "col_names.hpp"

Go to the source code of this file.

Classes

struct  csv::internals::RawCSVField
 A barebones class used for describing CSV fields. More...
 
class  csv::internals::CSVFieldList
 A class used for efficiently storing RawCSVField objects and expanding as necessary. More...
 
struct  csv::internals::RawCSVData
 A class for storing raw CSV data and associated metadata. More...
 
class  csv::CSVField
 Data type representing individual CSV values. More...
 
class  csv::CSVRow
 Data structure for representing CSV rows. More...
 
class  csv::CSVRow::iterator
 A random access iterator over the contents of a CSV row. More...
 

Namespaces

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

Typedefs

using csv::internals::RawCSVDataPtr = std::shared_ptr< RawCSVData >
 

Functions

std::string csv::internals::json_escape_string (csv::string_view s) noexcept
 
template<>
std::string csv::CSVField::get< std::string > ()
 Retrieve this field's original string.
 
template<>
CONSTEXPR_14 csv::string_view csv::CSVField::get< csv::string_view > ()
 Retrieve a view over this field's string. More...
 
std::ostream & operator<< (std::ostream &os, csv::CSVField const &value)
 

Detailed Description

Defines the data type used for storing information about a CSV row.

Definition in file csv_row.hpp.