The Gaudi Framework  v30r3 (a5ef0a68)
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 
24  const std::string& fileName() const { return m_fileName; }
25  const std::string& fileGuid() const { return m_fileGuid; }
26 
27 private:
30 };
31 
33  : Incident( std::move( source ), std::move( type ) ), m_fileName( std::move( fileName ) )
34 {
35 }
36 
38  : Incident( std::move( source ), std::move( type ) )
39  , m_fileName( std::move( fileName ) )
40  , m_fileGuid( std::move( fileGuid ) )
41 {
42 }
43 
44 #endif
std::string m_fileGuid
Definition: FileIncident.h:29
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition: FileIncident.h:32
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 std::string & fileName() const
Definition: FileIncident.h:24
STL namespace.
STL class.
std::string m_fileName
Definition: FileIncident.h:28
Base class for all Incidents (computing events).
Definition: Incident.h:17
const std::string & fileGuid() const
Definition: FileIncident.h:25
#define GAUDI_API
Definition: Kernel.h:104