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

Method ForEachRow

libs/coding/csv_reader.hpp:32–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

30
31 template <typename Fn>
32 void ForEachRow(Fn && fn)
33 {
34 while (auto const optRow = ReadRow())
35 fn(*optRow);
36 }
37
38 // The total number of lines read including the header. Count starts at 0.
39 size_t GetCurrentLineNumber() const;

Callers 2

FillRoadsFromFileFunction · 0.80
UNIT_TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

UNIT_TESTFunction · 0.64