MCPcopy Create free account
hub / github.com/comaps/comaps / ReadRow

Method ReadRow

libs/coding/csv_reader.cpp:57–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55}
56
57std::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
69size_t CSVReader::GetCurrentLineNumber() const
70{

Callers 3

IteratorMethod · 0.80
csv_reader.cppFile · 0.80
UNIT_TESTFunction · 0.80

Calls 2

ParseCSVRowFunction · 0.85
ReadLineMethod · 0.80

Tested by 1

UNIT_TESTFunction · 0.64