The Gaudi Framework  v33r0 (d5ea422b)
FileIncident.h
Go to the documentation of this file.
1 /***********************************************************************************\
2 * (c) Copyright 1998-2019 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 #ifndef GAUDIKERNEL_FILEINCIDENT_H
12 #define GAUDIKERNEL_FILEINCIDENT_H
13 
20 #include "GaudiKernel/Incident.h"
21 
22 #include <string>
23 
28 public:
31  FileIncident( std::string source, std::string type, std::string fileName, std::string fileGuid );
32 
33  const std::string& fileName() const { return m_fileName; }
34  const std::string& fileGuid() const { return m_fileGuid; }
35 
36 private:
39 };
40 
42  : Incident( std::move( source ), std::move( type ) ), m_fileName( std::move( fileName ) ) {}
43 
45  : Incident( std::move( source ), std::move( type ) )
46  , m_fileName( std::move( fileName ) )
47  , m_fileGuid( std::move( fileGuid ) ) {}
48 
49 #endif
std::string m_fileGuid
Definition: FileIncident.h:38
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition: FileIncident.h:41
This class is the FileIncident.
Definition: FileIncident.h:27
STL namespace.
const std::string & fileGuid() const
Definition: FileIncident.h:34
STL class.
const std::string & fileName() const
Definition: FileIncident.h:33
std::string m_fileName
Definition: FileIncident.h:37
Base class for all Incidents (computing events).
Definition: Incident.h:27
#define GAUDI_API
Definition: Kernel.h:81