Vince's CSV Parser
Loading...
Searching...
No Matches
row_view.hpp
1
#pragma once
2
3
#include "../csv_row.hpp"
4
5
namespace
csv
{
6
namespace
internals {
7
namespace
data_frame {
8
// Read the same decoded, trimmed field bytes without scalar metadata.
9
struct
RowViewAccessor
{
10
static
inline
csv::string_view
view(
const
CSVRow
& row,
size_t
column) {
11
return
row.get_field_impl(column, row.data);
12
}
13
};
14
}
15
}
16
}
csv::CSVRow
Data structure for representing CSV rows.
Definition
csv_row.hpp:533
csv
The all encompassing namespace.
Definition
basic_csv_parser_simd.hpp:51
csv::string_view
std::string_view string_view
The string_view class used by this library.
Definition
common.hpp:182
csv::internals::data_frame::RowViewAccessor
Definition
row_view.hpp:9
include
internal
data_frame
row_view.hpp
Generated by
1.9.8