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

Method GetIdsSet

generator/complex_loader.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46}
47
48ankerl::unordered_dense::set<CompositeId> ComplexLoader::GetIdsSet() const
49{
50 ankerl::unordered_dense::set<CompositeId> set;
51 ForEach([&](auto const &, auto const & forest)
52 {
53 forest.ForEachTree([&](auto const & tree)
54 { tree_node::ForEach(tree, [&](auto const & entry) { set.emplace(entry.m_id); }); });
55 });
56 return set;
57}
58
59ComplexLoader const & GetOrCreateComplexLoader(std::string const & filename)
60{

Callers

nothing calls this directly

Calls 3

ForEachFunction · 0.85
ForEachTreeMethod · 0.45
emplaceMethod · 0.45

Tested by

no test coverage detected