14#include "col_names.hpp"
16#include "memory/field_scalar_list.hpp"
17#include "memory/quote_arena.hpp"
18#include "memory/raw_csv_field.hpp"
19#include "memory/raw_csv_field_list.hpp"
25 using memory::CSVFieldScalarList;
26 using memory::RawCSVField;
27 using memory::RawCSVFieldList;
28 using memory::RawCSVQuoteArena;
36 std::shared_ptr<void> _data =
nullptr;
42 internals::RawCSVFieldList fields;
53 internals::ColNamesPtr col_names =
nullptr;
62 bool has_field_scalars() const noexcept {
63 return !this->field_scalars.empty();
67 using RawCSVDataPtr = std::shared_ptr<RawCSVData>;
A standalone header file containing shared code.
std::array< ParseFlags, 256 > ParseFlagMap
An array which maps ASCII chars to a parsing flag.
std::array< bool, 256 > WhitespaceMap
An array which maps ASCII chars to a flag indicating if it is whitespace.
The all encompassing namespace.
std::string_view string_view
The string_view class used by this library.
A class for storing raw CSV data and associated metadata.
internals::RawCSVQuoteArena quote_arena
Parser-time sidecar bytes for fields whose quoted contents contained doubled quotes.
bool has_ws_trimming
True when at least one whitespace trim character is configured.
internals::lazy_shared_ptr< JsonConverter > json_converter
Cached JSON converter for rows sharing this parsed backing storage.
internals::CSVFieldScalarList field_scalars
Optional parser-time scalar sidecar; empty unless eager classification is enabled.
size_t source_start
Absolute byte offset where this parsed chunk starts in the source.