|
Vince's CSV Parser
|
Defines the data type used for storing information about a CSV row. More...
#include <chrono>#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 |
| A random access iterator over the contents of a CSV row. More... | |
Namespaces | |
| namespace | csv |
| The all encompassing namespace. | |
Typedefs | |
| typedef const char * | csv::internals::csv_error_message |
Enumerations | |
| enum class | csv::CSVConversionError { csv::None = 0 , csv::NotANumber , csv::Overflow , csv::FloatToInt , csv::NegativeToUnsigned } |
| Non-throwing CSVField conversion result. More... | |
Functions | |
| csv::string_view | csv::internals::get_trimmed (csv::string_view sv, const WhitespaceMap &ws_flags) noexcept |
| const char * | csv::csv_conversion_error_message (CSVConversionError error) noexcept |
| Return a stable human-readable description for a CSVConversionError. | |
| 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. | |
| template<> | |
| bool | csv::CSVField::try_get< std::string > (std::string &out) noexcept |
| Non-throwing retrieval of field as std::string. | |
| template<> | |
| CONSTEXPR_14 bool | csv::CSVField::try_get< csv::string_view > (csv::string_view &out) noexcept |
| Non-throwing retrieval of field as csv::string_view. | |
Defines the data type used for storing information about a CSV row.
Definition in file csv_row.hpp.
| typedef const char* csv::internals::csv_error_message |
Definition at line 90 of file csv_row.hpp.
|
noexcept |
Definition at line 12 of file csv_row.cpp.