The Gaudi Framework
master (37c0b60a)
FileIncident.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2024 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
27
class
GAUDI_API
FileIncident
:
public
Incident
{
28
public
:
30
FileIncident
(
std::string
source,
std::string
type
,
std::string
fileName );
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
:
37
std::string
m_fileName
;
38
std::string
m_fileGuid
;
39
};
40
41
inline
FileIncident::FileIncident
(
std::string
source,
std::string
type
,
std::string
fileName )
42
:
Incident
(
std
::move( source ),
std
::move(
type
) ), m_fileName(
std
::move( fileName ) ) {}
43
44
inline
FileIncident::FileIncident
(
std::string
source,
std::string
type
,
std::string
fileName,
std::string
fileGuid )
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
STL class.
FileIncident::m_fileGuid
std::string m_fileGuid
Definition:
FileIncident.h:38
FileIncident::fileGuid
const std::string & fileGuid() const
Definition:
FileIncident.h:34
FileIncident::FileIncident
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition:
FileIncident.h:41
FileIncident::fileName
const std::string & fileName() const
Definition:
FileIncident.h:33
FileIncident
This class is the FileIncident.
Definition:
FileIncident.h:27
gaudirun.type
type
Definition:
gaudirun.py:160
std
STL namespace.
Incident.h
Incident
Definition:
Incident.h:27
FileIncident::m_fileName
std::string m_fileName
Definition:
FileIncident.h:37
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
GaudiKernel
include
GaudiKernel
FileIncident.h
Generated on Thu Dec 19 2024 15:35:01 for The Gaudi Framework by
1.8.18