Vince's CSV Parser
Loading...
Searching...
No Matches
csv::internals::data_frame::RowStorageBuilder Class Reference

Shared lossless owned-row construction for insertion and materialization. More...

#include <row_storage.hpp>

Public Member Functions

 RowStorageBuilder (ConstColNamesPtr names)
 
void begin_row ()
 
void append_field (csv::string_view value)
 
CSVRow finish_row () const
 

Static Public Member Functions

static CSVRow make_row (const std::vector< std::string > &values, ConstColNamesPtr names)
 
template<typename FieldAt >
static std::vector< CSVRow > insert_column (size_t count, ConstColNamesPtr names, size_t index, const std::string &default_value, const FieldAt &field_at)
 

Detailed Description

Shared lossless owned-row construction for insertion and materialization.

Definition at line 64 of file row_storage.hpp.

Constructor & Destructor Documentation

◆ RowStorageBuilder()

csv::internals::data_frame::RowStorageBuilder::RowStorageBuilder ( ConstColNamesPtr  names)
inlineexplicit

Definition at line 66 of file row_storage.hpp.

Member Function Documentation

◆ append_field()

void csv::internals::data_frame::RowStorageBuilder::append_field ( csv::string_view  value)
inline

Definition at line 80 of file row_storage.hpp.

◆ begin_row()

void csv::internals::data_frame::RowStorageBuilder::begin_row ( )
inline

Definition at line 68 of file row_storage.hpp.

◆ finish_row()

CSVRow csv::internals::data_frame::RowStorageBuilder::finish_row ( ) const
inline

Definition at line 86 of file row_storage.hpp.

◆ insert_column()

template<typename FieldAt >
static std::vector< CSVRow > csv::internals::data_frame::RowStorageBuilder::insert_column ( size_t  count,
ConstColNamesPtr  names,
size_t  index,
const std::string &  default_value,
const FieldAt &  field_at 
)
inlinestatic

Definition at line 98 of file row_storage.hpp.

◆ make_row()

static CSVRow csv::internals::data_frame::RowStorageBuilder::make_row ( const std::vector< std::string > &  values,
ConstColNamesPtr  names 
)
inlinestatic

Definition at line 90 of file row_storage.hpp.


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