Gaudi Framework, version v23r9
Home
Generated: Thu Jul 18 2013
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
GaudiKernel
GaudiKernel
FileIncident.h
Go to the documentation of this file.
1
#ifndef GAUDIKERNEL_FILEINCIDENT_H
2
#define GAUDIKERNEL_FILEINCIDENT_H
3
11
#include "
GaudiKernel/Incident.h
"
12
13
#include <
string
>
14
18
class
GAUDI_API
FileIncident
:
public
Incident
{
19
public
:
21
FileIncident
(
const
std::string
& source,
22
const
std::string
&
type
,
23
const
std::string
& fileName,
24
bool
isPayload =
false
);
25
FileIncident
(
const
std::string
& source,
26
const
std::string
& type,
27
const
std::string
& fileName,
28
const
std::string
& fileGuid,
29
bool
isPayload =
false
);
30
FileIncident
(
const
FileIncident
& rhs);
31
virtual
~
FileIncident
();
32
34
const
FileIncident
& operator=(
const
FileIncident
& rhs);
35
const
std::string
& fileName()
const
;
36
const
std::string
& fileGuid()
const
;
37
bool
isPayload()
const
;
38
39
private
:
40
std::string
m_fileName
;
41
std::string
m_fileGuid
;
42
bool
m_isPayload
;
43
};
44
45
inline
FileIncident::FileIncident
(
const
std::string
& source,
46
const
std::string
&
type
,
47
const
std::string
& fileName,
48
bool
isPayload) :
Incident
(source, type), m_fileName(fileName), m_fileGuid(
""
), m_isPayload(isPayload) {}
49
inline
FileIncident::FileIncident
(
const
std::string
& source,
50
const
std::string
&
type
,
51
const
std::string
& fileName,
52
const
std::string
& fileGuid,
53
bool
isPayload) :
Incident
(source, type), m_fileName(fileName), m_fileGuid(fileGuid), m_isPayload(isPayload) {}
54
inline
FileIncident::FileIncident
(
const
FileIncident
& rhs) :
Incident
(rhs),
55
m_fileName(rhs.m_fileName),
56
m_fileGuid(rhs.m_fileGuid),
57
m_isPayload(rhs.m_isPayload) {}
58
inline
FileIncident::~FileIncident
() {}
59
60
inline
const
FileIncident
&
FileIncident::operator=
(
const
FileIncident
& rhs) {
61
if
(
this
!= &rhs) {
62
Incident::operator=(rhs);
63
m_fileName
= rhs.
m_fileName
;
64
m_fileGuid
= rhs.
m_fileGuid
;
65
m_isPayload
= rhs.
m_isPayload
;
66
}
67
return
(rhs);
68
}
69
70
inline
const
std::string
&
FileIncident::fileName
()
const
{
return
(
m_fileName
); }
71
inline
const
std::string
&
FileIncident::fileGuid
()
const
{
return
(
m_fileGuid
); }
72
inline
bool
FileIncident::isPayload
()
const
{
return
(
m_isPayload
); }
73
74
#endif
Generated at Thu Jul 18 2013 12:18:02 for Gaudi Framework, version v23r9 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004