Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::memory::RawCSVField Struct Reference

A barebones class used for describing CSV fields. More...

#include <raw_csv_field.hpp>

Public Member Functions

 RawCSVField (size_t _start, size_t _length, bool _is_realized=false) noexcept
 
CONSTEXPR bool has_realized_storage () const noexcept
 

Public Attributes

CSVChunkIndex start = 0
 Raw row-relative start, or quote-arena logical start when is_realized is true.
 
CSVChunkIndex length = 0
 Field length in the selected backing storage.
 
bool is_realized = false
 True when start/length refer to RawCSVData::quote_arena instead of RawCSVData::data.
 

Detailed Description

A barebones class used for describing CSV fields.

Definition at line 15 of file raw_csv_field.hpp.

Constructor & Destructor Documentation

◆ RawCSVField()

csv::internals::memory::RawCSVField::RawCSVField ( size_t  _start,
size_t  _length,
bool  _is_realized = false 
)
inlinenoexcept

Definition at line 17 of file raw_csv_field.hpp.

Member Function Documentation

◆ has_realized_storage()

CONSTEXPR bool csv::internals::memory::RawCSVField::has_realized_storage ( ) const
inlinenoexcept

Definition at line 38 of file raw_csv_field.hpp.

Member Data Documentation

◆ is_realized

bool csv::internals::memory::RawCSVField::is_realized = false

True when start/length refer to RawCSVData::quote_arena instead of RawCSVData::data.

Definition at line 36 of file raw_csv_field.hpp.

◆ length

CSVChunkIndex csv::internals::memory::RawCSVField::length = 0

Field length in the selected backing storage.

Definition at line 33 of file raw_csv_field.hpp.

◆ start

CSVChunkIndex csv::internals::memory::RawCSVField::start = 0

Raw row-relative start, or quote-arena logical start when is_realized is true.

Definition at line 30 of file raw_csv_field.hpp.


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