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

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

#include <raw_csv_data.hpp>

Public Member Functions

 RawCSVField (size_t _start, size_t _length, bool _double_quote=false)
 

Public Attributes

size_t start
 The start of the field, relative to the beginning of the row.
 
size_t length
 The length of the row, ignoring quote escape characters.
 
bool has_double_quote
 Whether or not the field contains an escaped quote.
 

Detailed Description

A barebones class used for describing CSV fields.

Definition at line 24 of file raw_csv_data.hpp.

Constructor & Destructor Documentation

◆ RawCSVField()

csv::internals::RawCSVField::RawCSVField ( size_t  _start,
size_t  _length,
bool  _double_quote = false 
)
inline

Definition at line 26 of file raw_csv_data.hpp.

Member Data Documentation

◆ has_double_quote

bool csv::internals::RawCSVField::has_double_quote

Whether or not the field contains an escaped quote.

Definition at line 39 of file raw_csv_data.hpp.

◆ length

size_t csv::internals::RawCSVField::length

The length of the row, ignoring quote escape characters.

Definition at line 36 of file raw_csv_data.hpp.

◆ start

size_t csv::internals::RawCSVField::start

The start of the field, relative to the beginning of the row.

Definition at line 33 of file raw_csv_data.hpp.


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