Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::speculative::CSVRowFragment Struct Reference

Public Member Functions

 CSVRowFragment (csv::string_view bytes, std::shared_ptr< void > owner, ParserDFAState initial_state=ParserDFAState(), ParserDFAState ending_state=ParserDFAState(), size_t offset=0)
 
bool empty () const noexcept
 

Static Public Member Functions

static CSVRowFragment from_row (const CSVRow &row, ParserDFAState initial_state=ParserDFAState(), ParserDFAState ending_state=ParserDFAState(), size_t chunk_offset=0)
 

Public Attributes

csv::string_view bytes
 
std::shared_ptr< void > owner
 
ParserDFAState initial_state
 
ParserDFAState ending_state
 
size_t offset = 0
 
bool present = false
 

Detailed Description

Definition at line 8 of file chunks.hpp.

Constructor & Destructor Documentation

◆ CSVRowFragment()

csv::internals::speculative::CSVRowFragment::CSVRowFragment ( csv::string_view  bytes,
std::shared_ptr< void >  owner,
ParserDFAState  initial_state = ParserDFAState(),
ParserDFAState  ending_state = ParserDFAState(),
size_t  offset = 0 
)
inline

Definition at line 10 of file chunks.hpp.

Member Function Documentation

◆ empty()

bool csv::internals::speculative::CSVRowFragment::empty ( ) const
inlinenoexcept

Definition at line 23 of file chunks.hpp.

◆ from_row()

static CSVRowFragment csv::internals::speculative::CSVRowFragment::from_row ( const CSVRow &  row,
ParserDFAState  initial_state = ParserDFAState(),
ParserDFAState  ending_state = ParserDFAState(),
size_t  chunk_offset = 0 
)
inlinestatic

Definition at line 27 of file chunks.hpp.

Member Data Documentation

◆ bytes

csv::string_view csv::internals::speculative::CSVRowFragment::bytes

Definition at line 42 of file chunks.hpp.

◆ ending_state

ParserDFAState csv::internals::speculative::CSVRowFragment::ending_state

Definition at line 45 of file chunks.hpp.

◆ initial_state

ParserDFAState csv::internals::speculative::CSVRowFragment::initial_state

Definition at line 44 of file chunks.hpp.

◆ offset

size_t csv::internals::speculative::CSVRowFragment::offset = 0

Definition at line 46 of file chunks.hpp.

◆ owner

std::shared_ptr<void> csv::internals::speculative::CSVRowFragment::owner

Definition at line 43 of file chunks.hpp.

◆ present

bool csv::internals::speculative::CSVRowFragment::present = false

Definition at line 47 of file chunks.hpp.


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