Utility class to read a CSV file.
More...
#include <CSV.h>
|
static void | SplitCSV (const std::string &originalCSV, const std::map< std::string, std::vector< std::string > > &fileMapping) |
|
Utility class to read a CSV file.
◆ CSV() [1/3]
CSV::CSV |
( |
std::string const & |
path | ) |
|
Constructor.
- Parameters
-
config | Path to CSV file to read. |
◆ CSV() [2/3]
◆ ~CSV()
◆ CSV() [3/3]
◆ NextRecord()
◆ NextValue()
std::string CSV::NextValue |
( |
unsigned |
skip = 0 | ) |
|
◆ NextValueAsDouble()
double CSV::NextValueAsDouble |
( |
unsigned |
skip = 0 | ) |
|
◆ Record()
std::string CSV::Record |
( |
| ) |
const |
◆ SplitCSV()
void CSV::SplitCSV |
( |
const std::string & |
originalCSV, |
|
|
const std::map< std::string, std::vector< std::string > > & |
fileMapping |
|
) |
| |
|
static |
◆ m_p