| 26 | } |
| 27 | |
| 28 | std::unique_ptr<const Fluxmap> next() override |
| 29 | { |
| 30 | std::string path = getPath(); |
| 31 | log("DMK: reading {}", path); |
| 32 | std::ifstream ifstream(getPath(), std::ios::binary); |
| 33 | if (!ifstream) |
| 34 | return std::make_unique<Fluxmap>(); |
| 35 | _count++; |
| 36 | |
| 37 | Bytes bytes(ifstream); |
| 38 | return decodeCatweaselData(bytes, 1e9 / 7080500.0); |
| 39 | } |
| 40 | |
| 41 | private: |
| 42 | const std::string getPath() const |
nothing calls this directly
no test coverage detected