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

Method Retrieve

libs/search/bookmarks/processor.hpp:78–86  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76
77 template <typename DFA, typename Fn>
78 void Retrieve(QueryParams::Token const & token, Fn && fn) const
79 {
80 SearchTrieRequest<DFA> request;
81 FillRequestFromToken(token, request);
82 request.m_langs.insert(localisation::kDefaultNameIndex);
83
84 MatchFeaturesInTrie(request, m_index.GetRootIterator(), [](Id const & /* id */) { return true; } /* filter */,
85 std::forward<Fn>(fn));
86 }
87
88 QueryVec GetQueryVec(IdfMap & idfs, QueryParams const & params) const;
89

Callers

nothing calls this directly

Calls 4

FillRequestFromTokenFunction · 0.85
MatchFeaturesInTrieFunction · 0.85
insertMethod · 0.45
GetRootIteratorMethod · 0.45

Tested by

no test coverage detected