The Gaudi Framework  v29r0 (ff2e7097)
FileIncident.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_FILEINCIDENT_H
2 #define GAUDIKERNEL_FILEINCIDENT_H
3 
10 #include "GaudiKernel/Incident.h"
11 
12 #include <string>
13 
18 {
19 public:
22  FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid );
23  FileIncident( const FileIncident& rhs );
24  ~FileIncident() override = default;
25 
27  const FileIncident& operator=( const FileIncident& rhs );
28  const std::string& fileName() const;
29  const std::string& fileGuid() const;
30 
31 private:
34 };
35 
37  : Incident( std::move( source ), std::move( type ) ), m_fileName( std::move( fileName ) )
38 {
39 }
40 
42  : Incident( std::move( source ), std::move( type ) )
43  , m_fileName( std::move( fileName ) )
44  , m_fileGuid( std::move( fileGuid ) )
45 {
46 }
47 
49  : Incident( rhs ), m_fileName( rhs.m_fileName ), m_fileGuid( rhs.m_fileGuid )
50 {
51 }
52 
54 {
55  Incident::operator=( rhs );
56  m_fileName = rhs.m_fileName;
57  m_fileGuid = rhs.m_fileGuid;
58  return *this;
59 }
60 
61 inline const std::string& FileIncident::fileName() const { return m_fileName; }
62 inline const std::string& FileIncident::fileGuid() const { return m_fileGuid; }
63 
64 #endif
std::string m_fileGuid
Definition: FileIncident.h:33
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition: FileIncident.h:36
This class is the FileIncident.
Definition: FileIncident.h:17
const std::string & type() const
Access to the incident type.
Definition: Incident.h:41
const std::string & source() const
Access to the source of the incident.
Definition: Incident.h:47
const FileIncident & operator=(const FileIncident &rhs)
Overloaded Assignment Operator.
Definition: FileIncident.h:53
STL namespace.
PropertyMgr & operator=(const PropertyMgr &)=delete
STL class.
std::string m_fileName
Definition: FileIncident.h:32
Base class for all Incidents (computing events).
Definition: Incident.h:17
const std::string & fileGuid() const
Definition: FileIncident.h:62
const std::string & fileName() const
Definition: FileIncident.h:61
#define GAUDI_API
Definition: Kernel.h:110