LArSoft  v07_13_02
Liquid Argon Software toolkit - http://larsoft.org/
ModuleConfigInfo.h
Go to the documentation of this file.
1 #ifndef art_Framework_Core_detail_ModuleConfigInfo_h
2 #define art_Framework_Core_detail_ModuleConfigInfo_h
3 
7 
8 #include <map>
9 #include <string>
10 #include <vector>
11 
13 // ModuleConfigInfo
14 //
15 // Class containing some info about a module only required during
16 // configuration processing.
18 
19 namespace art {
20  namespace detail {
21  class ModuleConfigInfo;
22 
23  using ModuleConfigInfoMap = std::map<std::string, ModuleConfigInfo>;
24  }
25 }
26 
28 public:
30  std::string const& label,
31  std::string const& configPath);
32 
33  std::string const& label() const;
34  std::string const& configPath() const;
35  ModuleType moduleType() const;
36  fhicl::ParameterSet const& modPS() const;
37  std::string const& libSpec() const;
38 
39  static std::vector<std::string> const& allModulePathRoots();
40 
41 private:
43 
44  std::string const label_;
45  std::string const configPath_;
48  std::string const libSpec_;
49 };
50 
51 inline std::string const&
53 {
54  return configPath_;
55 }
56 
57 inline std::string const&
59 {
60  return label_;
61 }
62 
63 inline art::ModuleType
65 {
66  return moduleType_;
67 }
68 
69 inline fhicl::ParameterSet const&
71 {
72  return modPS_;
73 }
74 
75 inline std::string const&
77 {
78  return libSpec_;
79 }
80 #endif /* art_Framework_Core_detail_ModuleConfigInfo_h */
81 
82 // Local Variables:
83 // mode: c++
84 // End:
std::string const & configPath() const
ModuleConfigInfo(fhicl::ParameterSet const &procPS, std::string const &label, std::string const &configPath)
fhicl::ParameterSet const & modPS() const
std::string const & libSpec() const
fhicl::ParameterSet const modPS_
static std::vector< std::string > const & allModulePathRoots()
ModuleType calcConfigType_() const
ModuleType moduleType() const
HLT enums.
std::string const & label() const
ModuleType
Definition: ModuleType.h:22
std::map< std::string, ModuleConfigInfo > ModuleConfigInfoMap