| 47 | } |
| 48 | |
| 49 | MiniRoundaboutData 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 |
no test coverage detected