csvzall 0.4.0
CSV command-line tool and emerging C++ library
Loading...
Searching...
No Matches
column_lookup.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <optional>
5#include <string>
6#include <string_view>
7#include <vector>
8
10
11std::string Trim(std::string value);
12
13bool IsIdentifier(std::string_view text);
14
15std::optional<std::size_t> FindColumnIndex(const std::vector<std::string>& headers,
16 std::string_view name,
17 bool exact_column_matching);
18
19} // namespace csvzall::pipeline::common
std::string text
Definition json_extract.cpp:32
std::string name
Definition json_extract.cpp:347
Definition chart_spec.hpp:100
std::optional< std::size_t > FindColumnIndex(const std::vector< std::string > &headers, std::string_view name, bool exact_column_matching)
Definition column_lookup.cpp:45
bool IsIdentifier(std::string_view text)
Definition column_lookup.cpp:21
std::string Trim(std::string value)
Definition column_lookup.cpp:7
double value
Definition timeseries.cpp:32