|
Multi diag tools
|
CSV parser template. More...
#include <CsvParserTemplate.h>
Inheritance diagram for Mdt::PlainText::CsvParserTemplate< SourceIterator >:Public Member Functions | |
| CsvParserTemplate ()=default | |
| Default constructor. | |
| void | setupParser (const CsvParserSettings &settings) |
| Setup parser. More... | |
| bool | isValid () const |
| Check if parser is valid. More... | |
| Mdt::Expected< StringRecord > | readLine (SourceIterator &first, const SourceIterator &last) |
| Read one line of CSV data. More... | |
CSV parser template.
This class implements the parser logic, and can act on different input containers that have STL compatible iterators.
| SourceIterator | Type of iterator that will act on the source. |
Definition at line 40 of file CsvFileParser.h.
|
inline |
Check if parser is valid.
Parser is valid once setupParser() was called at least once
Definition at line 146 of file CsvParserTemplate.h.
|
inline |
Read one line of CSV data.
Definition at line 155 of file CsvParserTemplate.h.
|
inline |
1.8.11