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

Function ReadMiniRoundabouts

generator/mini_roundabout_info.cpp:49–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47}
48
49MiniRoundaboutData ReadMiniRoundabouts(std::string const & filePath)
50{
51 FileReader reader(filePath);
52 ReaderSource<FileReader> src(reader);
53 std::vector<MiniRoundaboutInfo> res;
54
55 while (src.Size() > 0)
56 res.push_back(ReadMiniRoundabout(src));
57
58 LOG(LINFO, ("Loaded", res.size(), "mini_roundabouts from file", filePath));
59 return res;
60}
61} // namespace generator

Callers 1

ProcessRoundaboutsMethod · 0.85

Calls 4

ReadMiniRoundaboutFunction · 0.85
SizeMethod · 0.45
push_backMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected