Vince's CSV Parser
Loading...
Searching...
No Matches
csv_row.hpp File Reference

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

#include <chrono>
#include <cstddef>
#include <cstdint>
#include <cmath>
#include <iterator>
#include <memory>
#include <limits>
#include <unordered_set>
#include <string>
#include <sstream>
#include <vector>
#include "common.hpp"
#include <optional>
#include "csv_exceptions.hpp"
#include <ranges>
#include "data_type.hpp"
#include "../external/classify_scalar.hpp"
#include "json_converter.hpp"
#include "raw_csv_data.hpp"

Go to the source code of this file.

Classes

class  csv::CSVField
 Data type representing individual CSV values. More...
 
class  csv::CSVRow
 Data structure for representing CSV rows. More...
 
class  csv::CSVRow::iterator
 Iterator producing short-lived CSVField values with independent lazy conversion caches. More...
 
class  csv::CSVRow::iterator::pointer
 Temporary arrow proxy owning a field value, without a heap allocation. More...
 
class  csv::CSVRow::reverse_iterator
 Reverse field-value iterator available since C++11. More...
 

Namespaces

namespace  csv
 The all encompassing namespace.
 

Functions

csv::string_view csv::internals::get_trimmed (csv::string_view sv, const WhitespaceMap &ws_flags) noexcept
 
template<>
std::string csv::CSVField::get< std::string > () const
 Retrieve this field's original string.
 
template<>
CONSTEXPR_14 csv::string_view csv::CSVField::get< csv::string_view > () const
 Retrieve a view over this field's string.
 
template<>
CONSTEXPR_14 bool csv::CSVField::try_get< csv::string_view > (csv::string_view &out) const noexcept
 

Detailed Description

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

Definition in file csv_row.hpp.

Function Documentation

◆ get_trimmed()

csv::string_view csv::internals::get_trimmed ( csv::string_view  sv,
const WhitespaceMap &  ws_flags 
)
noexcept

Definition at line 12 of file csv_row.cpp.