Public Member Functions | Private Attributes | List of all members
art::ProcessConfiguration Class Reference

#include <ProcessConfiguration.h>

Public Member Functions

 ~ProcessConfiguration ()
 
 ProcessConfiguration () noexcept
 
 ProcessConfiguration (std::string const &name, fhicl::ParameterSetID const &, ReleaseVersion const &) noexcept(false)
 
 ProcessConfiguration (ProcessConfiguration const &) noexcept(false)
 
 ProcessConfiguration (ProcessConfiguration &&) noexcept(false)
 
ProcessConfigurationoperator= (ProcessConfiguration const &)
 
ProcessConfigurationoperator= (ProcessConfiguration &&)
 
std::string const & processName () const noexcept
 
fhicl::ParameterSetID const & parameterSetID () const noexcept
 
ReleaseVersion const & releaseVersion () const noexcept
 
ProcessConfigurationID id () const
 

Private Attributes

std::string processName_ {}
 
fhicl::ParameterSetID parameterSetID_ {}
 
ReleaseVersion releaseVersion_ {}
 

Detailed Description

Definition at line 15 of file ProcessConfiguration.h.

Constructor & Destructor Documentation

art::ProcessConfiguration::~ProcessConfiguration ( )
default
art::ProcessConfiguration::ProcessConfiguration ( )
defaultnoexcept
art::ProcessConfiguration::ProcessConfiguration ( std::string const &  name,
fhicl::ParameterSetID const &  pSetID,
ReleaseVersion const &  relVersion 
)
noexcept

Definition at line 17 of file ProcessConfiguration.cc.

21  : processName_{procName}
22  , parameterSetID_{pSetID}
23  , releaseVersion_{relVersion}
24  {}
fhicl::ParameterSetID parameterSetID_
art::ProcessConfiguration::ProcessConfiguration ( ProcessConfiguration const &  )
defaultnoexcept
art::ProcessConfiguration::ProcessConfiguration ( ProcessConfiguration &&  )
defaultnoexcept

Member Function Documentation

ProcessConfigurationID art::ProcessConfiguration::id ( ) const

Definition at line 55 of file ProcessConfiguration.cc.

56  {
57  ostringstream oss;
58  oss << *this;
59  string stringrep = oss.str();
60  cet::MD5Digest md5alg(stringrep);
61  return ProcessConfigurationID(md5alg.digest().toString());
62  }
Hash< ProcessConfigurationType > ProcessConfigurationID
ProcessConfiguration & art::ProcessConfiguration::operator= ( ProcessConfiguration const &  )
defaultnoexcept
ProcessConfiguration & art::ProcessConfiguration::operator= ( ProcessConfiguration &&  )
default
fhicl::ParameterSetID const & art::ProcessConfiguration::parameterSetID ( ) const
noexcept

Definition at line 43 of file ProcessConfiguration.cc.

44  {
45  return parameterSetID_;
46  }
fhicl::ParameterSetID parameterSetID_
string const & art::ProcessConfiguration::processName ( ) const
noexcept

Definition at line 37 of file ProcessConfiguration.cc.

38  {
39  return processName_;
40  }
ReleaseVersion const & art::ProcessConfiguration::releaseVersion ( ) const
noexcept

Definition at line 49 of file ProcessConfiguration.cc.

50  {
51  return releaseVersion_;
52  }

Member Data Documentation

fhicl::ParameterSetID art::ProcessConfiguration::parameterSetID_ {}
private

Definition at line 39 of file ProcessConfiguration.h.

std::string art::ProcessConfiguration::processName_ {}
private

Definition at line 38 of file ProcessConfiguration.h.

ReleaseVersion art::ProcessConfiguration::releaseVersion_ {}
private

Definition at line 40 of file ProcessConfiguration.h.


The documentation for this class was generated from the following files: