LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
ModuleDescription.h
Go to the documentation of this file.
1 #ifndef art_Persistency_Provenance_ModuleDescription_h
2 #define art_Persistency_Provenance_ModuleDescription_h
3 // vim: set sw=2 expandtab :
4 
9 #include <iosfwd>
10 #include <string>
11 
12 namespace art {
13 
15  public:
17  explicit ModuleDescription();
19  std::string const& modName,
20  std::string const& modLabel,
23  bool isEmulated = false);
24 
25  void write(std::ostream& os) const;
26 
28  std::string const& moduleName() const;
29  std::string const& moduleLabel() const;
30  bool isEmulatedModule() const;
31 
33 
36  std::string const& processName() const;
37  std::string const& releaseVersion() const;
39 
40  bool operator<(ModuleDescription const& rh) const;
41  bool operator==(ModuleDescription const& rh) const;
42  bool operator!=(ModuleDescription const& rh) const;
43 
44  private:
45  // Properties of the product creator
47  std::string moduleName_{}; // class name
48  std::string moduleLabel_{};
50  bool isEmulated_{false};
51 
52  // Process-wide configuration
55  ReleaseVersion{}};
56  };
57 
58  std::ostream& operator<<(std::ostream& os, ModuleDescription const& p);
59 
60 } // namespace art
61 
62 #endif /* art_Persistency_Provenance_ModuleDescription_h */
63 
64 // Local Variables:
65 // mode: c++
66 // End:
std::string ReleaseVersion
Definition: ReleaseVersion.h:7
std::string const & moduleLabel() const
bool operator<(ModuleDescription const &rh) const
std::string const & releaseVersion() const
ModuleThreadingType moduleThreadingType_
bool operator==(ModuleDescription const &rh) const
std::string const & processName() const
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
std::string const & moduleName() const
bool isEmulatedModule() const
ProcessConfiguration const & processConfiguration() const
ModuleThreadingType moduleThreadingType() const
fhicl::ParameterSetID const & parameterSetID() const
ModuleThreadingType
Definition: ModuleType.h:19
Definition: MVAAlg.h:12
ProcessConfiguration processConfiguration_
ProcessConfigurationID const processConfigurationID() const
fhicl::ParameterSetID parameterSetID_
fhicl::ParameterSetID const & mainParameterSetID() const
void write(std::ostream &os) const
bool operator!=(ModuleDescription const &rh) const
Definition: Hash.h:34