The Gaudi Framework
master (3de0aae8)
Toggle main menu visibility
Loading...
Searching...
No Matches
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
18
19
#include <
GaudiKernel/Incident.h
>
20
21
#include <string>
22
26
class
GAUDI_API
FileIncident
:
public
Incident
{
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
) ) {}
Incident.h
GAUDI_API
#define GAUDI_API
Definition
Kernel.h:49
FileIncident::m_fileGuid
std::string m_fileGuid
Definition
FileIncident.h:37
FileIncident::fileName
const std::string & fileName() const
Definition
FileIncident.h:32
FileIncident::FileIncident
FileIncident(std::string source, std::string type, std::string fileName)
standard constructor
Definition
FileIncident.h:40
FileIncident::m_fileName
std::string m_fileName
Definition
FileIncident.h:36
FileIncident::fileGuid
const std::string & fileGuid() const
Definition
FileIncident.h:33
Incident::Incident
Incident(const std::string &source, const std::string &type)
Default Constructor.
Definition
Incident.cpp:15
Incident::type
const std::string & type() const
Access to the incident type.
Definition
Incident.h:43
Incident::source
const std::string & source() const
Access to the source of the incident.
Definition
Incident.h:49
std
STL namespace.
GaudiKernel
include
GaudiKernel
FileIncident.h
Generated on
for The Gaudi Framework by
1.17.0