| The Gaudi Framework v32r1 (f65d50dc)

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
17 class GAUDI_API FileIncident : public Incident {
18 public:
20 FileIncident( std::string source, std::string type, std::string fileName );
21 FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid );
22
23 const std::string& fileName() const { return m_fileName; }
24 const std::string& fileGuid() const { return m_fileGuid; }
25
26 private:
27 std::string m_fileName;
28 std::string m_fileGuid;
29 };
30
31 inline FileIncident::FileIncident( std::string source, std::string type, std::string fileName )
32 : Incident( std::move( source ), std::move( type ) ), m_fileName( std::move( fileName ) ) {}
33
34 inline FileIncident::FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid )
35 : Incident( std::move( source ), std::move( type ) )
36 , m_fileName( std::move( fileName ) )
37 , m_fileGuid( std::move( fileGuid ) ) {}
38
39 #endif
FileIncident::m_fileGuid
std::string m_fileGuid
Definition: FileIncident.h:28
FileIncident::FileIncident
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition: FileIncident.h:31
FileIncident
This class is the FileIncident.
Definition: FileIncident.h:17
std
STL namespace.
FileIncident::fileGuid
const std::string & fileGuid() const
Definition: FileIncident.h:24
std::string
STL class.
Incident.h
gaudirun.type
type
Definition: gaudirun.py:142
FileIncident::fileName
const std::string & fileName() const
Definition: FileIncident.h:23
FileIncident::m_fileName
std::string m_fileName
Definition: FileIncident.h:27
Incident
Base class for all Incidents (computing events).
Definition: Incident.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:71