Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::CSVRowFieldPolicy< EagerClassify > Struct Template Reference

Default field policy for the CSVRow path. More...

#include <core.hpp>

Public Member Functions

void begin_chunk (RawCSVDataPtr &data_ptr, RawCSVFieldList *&fields, const ParseFlagMap &parse_flags, const WhitespaceMap &ws_flags, bool has_ws_trimming, const ColNamesPtr &col_names) const
 
const RawCSVField & push_field (RawCSVData &data, RawCSVFieldList &fields, size_t row_start, int field_start, size_t field_length, bool field_has_double_quote) const
 

Detailed Description

template<bool EagerClassify = false>
struct csv::internals::CSVRowFieldPolicy< EagerClassify >

Default field policy for the CSVRow path.

Owns RawCSVData/RawCSVFieldList setup and appends RawCSVField metadata exactly as the historical parser core did.

Definition at line 194 of file core.hpp.

Member Function Documentation

◆ begin_chunk()

template<bool EagerClassify = false>
void csv::internals::CSVRowFieldPolicy< EagerClassify >::begin_chunk ( RawCSVDataPtr &  data_ptr,
RawCSVFieldList *&  fields,
const ParseFlagMap &  parse_flags,
const WhitespaceMap &  ws_flags,
bool  has_ws_trimming,
const ColNamesPtr &  col_names 
) const
inline

Definition at line 195 of file core.hpp.

◆ push_field()

template<bool EagerClassify = false>
const RawCSVField & csv::internals::CSVRowFieldPolicy< EagerClassify >::push_field ( RawCSVData &  data,
RawCSVFieldList &  fields,
size_t  row_start,
int  field_start,
size_t  field_length,
bool  field_has_double_quote 
) const
inline

Definition at line 211 of file core.hpp.


The documentation for this struct was generated from the following file: