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

Method ForEachOffset

libs/indexer/features_vector.hpp:55–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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
62private:
63 /// Actually, this ctor is needed only for ForEachOffset call.

Callers

nothing calls this directly

Calls 1

ForEachRecordMethod · 0.80

Tested by

no test coverage detected