ModuleGraphInfoMap.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_detail_ModuleGraphInfoMap_h
2 #define art_Framework_Core_detail_ModuleGraphInfoMap_h
3 
6 
7 namespace art::detail {
8 
10  public:
11  explicit ModuleGraphInfoMap(collection_map_t const& paths);
12 
13  auto const&
14  name(std::size_t const i) const
15  {
16  return modules_[i].first;
17  }
18 
19  auto const&
20  info(std::size_t const i) const
21  {
22  return modules_[i].second;
23  }
24 
25  auto
26  size() const
27  {
28  return modules_.size();
29  }
30 
31  auto
32  begin() const
33  {
34  return modules_.begin();
35  }
36 
37  auto
38  end() const
39  {
40  return modules_.end();
41  }
42 
43  auto info(module_name_t const& name) const -> ModuleGraphInfo const&;
44  auto vertex_index(module_name_t const& name) const -> distance_t;
45 
46  private:
50  };
51 }
52 
53 #endif /* art_Framework_Core_detail_ModuleGraphInfoMap_h */
54 
55 // Local Variables:
56 // mode: c++
57 // End:
std::vector< collection_map_t::value_type > collection_t
std::map< module_name_t, ModuleGraphInfo > collection_map_t
collection_t::const_iterator const begin_
intermediate_table::const_iterator const_iterator
collection_t::difference_type distance_t
ModuleGraphInfoMap(collection_map_t const &paths)
auto vertex_index(module_name_t const &name) const -> distance_t
auto const & info(std::size_t const i) const
auto const & name(std::size_t const i) const
std::string module_name_t
collection_t::const_iterator const end_