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

Public Member Functions

 RowOverlay (const RowOverlay &)=delete
 
RowOverlayoperator= (const RowOverlay &)=delete
 
 RowOverlay (RowOverlay &&other) noexcept
 
RowOverlayoperator= (RowOverlay &&other) noexcept
 
bool try_get_copy (size_t col_index, std::string &out) const
 
bool try_get_view (size_t col_index, csv::string_view &out) const
 Return a view into an edited cell without copying.
 
void set (size_t col_index, std::string value)
 
bool empty () const
 

Detailed Description

Definition at line 30 of file data_frame.hpp.

Constructor & Destructor Documentation

◆ RowOverlay()

csv::RowOverlay::RowOverlay ( RowOverlay &&  other)
inlinenoexcept

Definition at line 35 of file data_frame.hpp.

Member Function Documentation

◆ empty()

bool csv::RowOverlay::empty ( ) const
inline

Definition at line 82 of file data_frame.hpp.

◆ operator=()

RowOverlay & csv::RowOverlay::operator= ( RowOverlay &&  other)
inlinenoexcept

Definition at line 39 of file data_frame.hpp.

◆ set()

void csv::RowOverlay::set ( size_t  col_index,
std::string  value 
)
inline

Definition at line 77 of file data_frame.hpp.

◆ try_get_copy()

bool csv::RowOverlay::try_get_copy ( size_t  col_index,
std::string &  out 
) const
inline

Definition at line 47 of file data_frame.hpp.

◆ try_get_view()

bool csv::RowOverlay::try_get_view ( size_t  col_index,
csv::string_view out 
) const
inline

Return a view into an edited cell without copying.

This exists for read-only batch scans such as schema/type inference, where the caller immediately consumes the value and no concurrent sparse-overlay edits are expected. General cell access should keep using try_get_copy() or DataFrameCell so callers do not accidentally retain a view across later mutation.

Definition at line 66 of file data_frame.hpp.


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