File indexing completed on 2025-02-21 10:00:29
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011 #ifndef GAUDIKERNEL_FILEINCIDENT_H
0012 #define GAUDIKERNEL_FILEINCIDENT_H
0013
0014
0015
0016
0017
0018
0019
0020 #include "GaudiKernel/Incident.h"
0021
0022 #include <string>
0023
0024
0025
0026
0027 class GAUDI_API FileIncident : public Incident {
0028 public:
0029
0030 FileIncident( std::string source, std::string type, std::string fileName );
0031 FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid );
0032
0033 const std::string& fileName() const { return m_fileName; }
0034 const std::string& fileGuid() const { return m_fileGuid; }
0035
0036 private:
0037 std::string m_fileName;
0038 std::string m_fileGuid;
0039 };
0040
0041 inline FileIncident::FileIncident( std::string source, std::string type, std::string fileName )
0042 : Incident( std::move( source ), std::move( type ) ), m_fileName( std::move( fileName ) ) {}
0043
0044 inline FileIncident::FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid )
0045 : Incident( std::move( source ), std::move( type ) )
0046 , m_fileName( std::move( fileName ) )
0047 , m_fileGuid( std::move( fileGuid ) ) {}
0048
0049 #endif