|
BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Public Member Functions | |
| void | addCell (std::string str) |
| std::vector< std::string > | dataVector () |
| char | getSeparator () |
| std::string const & | operator[] (unsigned index) const |
| void | readNextRow (std::istream &str) |
| void | setSeparator (char sep) |
| unsigned long | size () const |
Private Attributes | |
| std::vector< std::string > | m_data |
| char | separator = '-' |
Definition at line 25 of file CsvReader.h.
| void CSVRow::addCell | ( | std::string | str | ) |
Definition at line 60 of file CsvReader.cpp.
References m_data.
Referenced by CSVFile::get_headers(), and readNextRow().
|
inline |
| char CSVRow::getSeparator | ( | ) |
Definition at line 55 of file CsvReader.cpp.
References separator.
| std::string const & CSVRow::operator[] | ( | unsigned | index | ) | const |
| void CSVRow::readNextRow | ( | std::istream & | str | ) |
Definition at line 29 of file CsvReader.cpp.
References addCell(), m_data, and separator.
Referenced by operator>>().
| void CSVRow::setSeparator | ( | char | sep | ) |
Definition at line 49 of file CsvReader.cpp.
References separator.
Referenced by CSVIterator::operator++().
| unsigned long CSVRow::size | ( | ) | const |
Definition at line 24 of file CsvReader.cpp.
References m_data.
Referenced by CSVFile::get_headers().
|
private |
Definition at line 36 of file CsvReader.h.
Referenced by addCell(), dataVector(), operator[](), readNextRow(), and size().
|
private |
Definition at line 37 of file CsvReader.h.
Referenced by getSeparator(), readNextRow(), and setSeparator().