|
NEML2 2.0.0
|
An interface class for reading CSV files. More...
An interface class for reading CSV files.
#include <CSVReader.h>

Public Member Functions | |
| CSVReader (const NEML2Object *obj) | |
Static Public Member Functions | |
| static OptionSet | expected_options () |
Protected Member Functions | |
| csv::CSVFormat | parse_format () const |
| Helper function to parse CSV format. | |
| std::vector< unsigned int > | parse_indices (const csv::CSVReader &csv) const |
| Helper function to parse column indices. | |
| void | read_all (csv::CSVReader &csv, std::vector< double > &vals, std::size_t &nrow, std::size_t &ncol) const |
| Read all values without column indices. | |
| void | read_by_indices (csv::CSVReader &csv, const std::vector< unsigned int > &indices, std::vector< double > &vals, std::size_t &nrow, std::size_t &ncol) const |
| Read values by specified column indices. | |
| CSVReader | ( | const NEML2Object * | obj | ) |
|
static |
|
protected |
Helper function to parse CSV format.
|
protected |
Helper function to parse column indices.
|
protected |
Read all values without column indices.
|
protected |
Read values by specified column indices.