ProcessConfiguration.h
Go to the documentation of this file.
1 #ifndef canvas_Persistency_Provenance_ProcessConfiguration_h
2 #define canvas_Persistency_Provenance_ProcessConfiguration_h
3 // vim: set sw=2 expandtab :
4 
8 
9 #include <iosfwd>
10 #include <string>
11 #include <vector>
12 
13 namespace art {
14 
16  public:
18 
19  ProcessConfiguration() noexcept;
20 
21  // The non-default constructor cannot be noexcept because the
22  // non-default ParameterSetID c'tor can throw.
24  fhicl::ParameterSetID const&,
25  ReleaseVersion const&) noexcept(false);
26  ProcessConfiguration(ProcessConfiguration const&) noexcept(false);
27  ProcessConfiguration(ProcessConfiguration&&) noexcept(false);
28 
31 
32  std::string const& processName() const noexcept;
33  fhicl::ParameterSetID const& parameterSetID() const noexcept;
34  ReleaseVersion const& releaseVersion() const noexcept;
35  ProcessConfigurationID id() const;
36 
37  private:
41  };
42 
44  bool operator==(ProcessConfiguration const& a, ProcessConfiguration const& b);
45  bool operator!=(ProcessConfiguration const& a, ProcessConfiguration const& b);
46 
47  std::ostream& operator<<(std::ostream& os, ProcessConfiguration const& pc);
48 
49  using ProcessConfigurations = std::vector<ProcessConfiguration>;
50 
51 } // namespace art
52 
53 #endif /* canvas_Persistency_Provenance_ProcessConfiguration_h */
54 
55 // Local Variables:
56 // mode: c++
57 // End:
static QCString name
Definition: declinfo.cpp:673
ReleaseVersion const & releaseVersion() const noexcept
bool operator==(Provenance const &a, Provenance const &b) noexcept
Definition: Provenance.cc:141
ProcessConfiguration & operator=(ProcessConfiguration const &)
std::string string
Definition: nybbler.cc:12
bool operator!=(debugging_allocator< X > const &, debugging_allocator< Y > const &)
fhicl::ParameterSetID parameterSetID_
ProcessConfigurationID id() const
std::ostream & operator<<(std::ostream &os, const GroupSelector &gs)
bool operator<(ProductInfo const &a, ProductInfo const &b)
Definition: ProductInfo.cc:51
std::string ReleaseVersion
Definition: ReleaseVersion.h:6
const double a
std::vector< ProcessConfiguration > ProcessConfigurations
static bool * b
Definition: config.cpp:1043
std::string const & processName() const noexcept
fhicl::ParameterSetID const & parameterSetID() const noexcept
Definition: Hash.h:32