Vince's CSV Parser
csv::internals::ColNames Struct Reference

A data structure for handling column name information. More...

#include <col_names.hpp>

Public Member Functions

 ColNames (const std::vector< std::string > &names)
 
std::vector< std::string > get_col_names () const
 
void set_col_names (const std::vector< std::string > &)
 
int index_of (csv::string_view) const
 
bool empty () const noexcept
 
size_t size () const noexcept
 

Detailed Description

A data structure for handling column name information.

These are created by CSVReader and passed (via smart pointer) to CSVRow objects it creates, thus allowing for indexing by column name.

Definition at line 21 of file col_names.hpp.


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