createViewLookups.cc
Go to the documentation of this file.
2 // vim: set sw=2:
3 
6 {
7  // This version stores the list of products that support views.
9  for (auto const& pr : descriptions) {
10  auto const& pd = pr.second;
11  if (!pd.supportsView())
12  continue;
13 
14  auto const& procName = pd.processName();
15  auto const pid = pr.first;
16 
17  result[procName].emplace_back(pid);
18  }
19  return result;
20 }
static QCString result
ViewLookup_t createViewLookups(ProductDescriptionsByID const &descriptions)
ProcessLookup ViewLookup_t
Definition: type_aliases.h:18
std::map< ProductID, BranchDescription > ProductDescriptionsByID