3 #include <unordered_map>
12 using ColNamesPtr = std::shared_ptr<ColNames>;
24 ColNames(
const std::vector<std::string>& names) {
28 std::vector<std::string> get_col_names()
const;
29 void set_col_names(
const std::vector<std::string>&);
32 bool empty()
const noexcept {
return this->col_names.empty(); }
33 size_t size()
const noexcept;
36 std::vector<std::string> col_names;
37 std::unordered_map<std::string, size_t> col_pos;
A standalone header file containing shared code.
The all encompassing namespace.
nonstd::string_view string_view
The string_view class used by this library.
A data structure for handling column name information.