| 53 | |
| 54 | template <class ToDo> |
| 55 | static void ForEachOffset(FilesContainerR const & cont, ToDo && toDo) |
| 56 | { |
| 57 | feature::DataHeader header(cont); |
| 58 | FeaturesVector vec(cont, header); |
| 59 | vec.m_recordReader->ForEachRecord([&](uint32_t pos, std::vector<uint8_t> && /* data */) { toDo(pos); }); |
| 60 | } |
| 61 | |
| 62 | private: |
| 63 | /// Actually, this ctor is needed only for ForEachOffset call. |
nothing calls this directly
no test coverage detected