The Gaudi Framework  master (d98a2936)
FileIncident.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3 * *
4 * This software is distributed under the terms of the Apache version 2 licence, *
5 * copied verbatim in the file "LICENSE". *
6 * *
7 * In applying this licence, CERN does not waive the privileges and immunities *
8 * granted to it by virtue of its status as an Intergovernmental Organization *
9 * or submit itself to any jurisdiction. *
10 \***********************************************************************************/
11 #pragma once
12 
19 #include <GaudiKernel/Incident.h>
20 
21 #include <string>
22 
27 public:
29  FileIncident( std::string source, std::string type, std::string fileName );
30  FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid );
31 
32  const std::string& fileName() const { return m_fileName; }
33  const std::string& fileGuid() const { return m_fileGuid; }
34 
35 private:
36  std::string m_fileName;
37  std::string m_fileGuid;
38 };
39 
40 inline FileIncident::FileIncident( std::string source, std::string type, std::string fileName )
41  : Incident( std::move( source ), std::move( type ) ), m_fileName( std::move( fileName ) ) {}
42 
43 inline FileIncident::FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid )
44  : Incident( std::move( source ), std::move( type ) )
45  , m_fileName( std::move( fileName ) )
46  , m_fileGuid( std::move( fileGuid ) ) {}
GaudiPartProp.decorators.std
std
Definition: decorators.py:32
FileIncident::m_fileGuid
std::string m_fileGuid
Definition: FileIncident.h:37
FileIncident::fileGuid
const std::string & fileGuid() const
Definition: FileIncident.h:33
FileIncident::FileIncident
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition: FileIncident.h:40
FileIncident::fileName
const std::string & fileName() const
Definition: FileIncident.h:32
FileIncident
This class is the FileIncident.
Definition: FileIncident.h:26
gaudirun.type
type
Definition: gaudirun.py:160
Incident.h
Incident
Definition: Incident.h:24
FileIncident::m_fileName
std::string m_fileName
Definition: FileIncident.h:36
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:49