| 55 | } |
| 56 | |
| 57 | std::optional<CSVReader::Row> CSVReader::ReadRow() |
| 58 | { |
| 59 | auto const line = m_reader->ReadLine(); |
| 60 | if (!line) |
| 61 | return {}; |
| 62 | |
| 63 | Row row; |
| 64 | strings::ParseCSVRow(*line, m_delimiter, row); |
| 65 | ++m_currentLine; |
| 66 | return row; |
| 67 | } |
| 68 | |
| 69 | size_t CSVReader::GetCurrentLineNumber() const |
| 70 | { |