Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework
master (f31105fd)
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Typedefs
a
b
c
d
e
f
h
i
l
m
o
p
r
s
t
u
v
w
x
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
y
Classes
Class List
Class Index
Class Hierarchy
Class Members
All
:
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Enumerations
a
c
d
e
f
i
l
m
n
o
p
q
r
s
t
v
Enumerator
a
b
c
d
e
f
i
j
k
l
m
n
o
p
r
s
t
u
v
w
Properties
Related Functions
:
a
b
c
d
e
g
h
i
m
o
p
r
s
t
v
Files
File List
File Members
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
x
z
Functions
_
b
c
e
f
g
h
i
l
m
n
o
p
r
s
t
u
z
Variables
a
b
c
d
e
g
h
i
m
o
p
q
r
s
t
v
x
Typedefs
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
r
s
t
u
w
Enumerations
Enumerator
c
e
f
p
u
v
Macros
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
r
s
t
u
v
w
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Modules
Pages
DataHandle.cpp
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
#include <
GaudiKernel/DataHandle.h
>
12
#include <
GaudiKernel/IDataHandleHolder.h
>
13
14
#include <sstream>
15
16
std::string
const
Gaudi::DataHandle::default_type
=
"unknown_t"
;
17
18
namespace
Gaudi
{
19
std::string
DataHandle::pythonRepr
()
const
{
20
std::ostringstream
ost;
21
ost <<
"DataHandle("
<<
fullKey
() <<
", '"
;
22
switch
(
mode
() ) {
23
case
DataHandle::Mode::Reader
:
24
ost <<
"R"
;
25
break
;
26
case
DataHandle::Mode::Writer:
27
ost <<
"W"
;
28
break
;
29
default
:
30
ost <<
"UNKNOWN"
;
31
break
;
32
}
33
ost <<
"', '"
+
default_type
+
"')"
;
34
return
ost.
str
();
35
}
36
37
std::ostream
&
operator<<
(
std::ostream
& str,
const
DataHandle
& d ) {
38
str << d.
fullKey
() <<
" m: "
<< d.
mode
();
39
if
( d.
owner
() ) str <<
" o: "
<< d.
owner
()->
name
();
40
return
str;
41
}
42
}
// namespace Gaudi
std::string
STL class.
Gaudi::DataHandle::default_type
static const std::string default_type
Definition:
DataHandle.h:83
Gaudi::DataHandle
Definition:
DataHandle.h:38
INamedInterface::name
virtual const std::string & name() const =0
Retrieve the name of the instance.
Gaudi::DataHandle::owner
virtual IDataHandleHolder * owner() const
Definition:
DataHandle.h:53
std::ostream
STL class.
Gaudi
This file provides a Grammar for the type Gaudi::Accumulators::Axis It allows to use that type from p...
Definition:
__init__.py:1
std::ostringstream
STL class.
IDataHandleHolder.h
Gaudi::DataHandle::mode
virtual Mode mode() const
Definition:
DataHandle.h:55
Gaudi::DataHandle::pythonRepr
virtual std::string pythonRepr() const
Definition:
DataHandle.cpp:19
DataHandle.h
Gaudi::operator<<
std::ostream & operator<<(std::ostream &o, const Gaudi::StringKey &key)
printout of the object reply on the native printout for the string
Definition:
StringKey.h:208
std::ostringstream::str
T str(T... args)
Gaudi::DataHandle::fullKey
virtual const DataObjID & fullKey() const
Definition:
DataHandle.h:61
compareOutputFiles.Reader
Reader
Definition:
compareOutputFiles.py:489
GaudiKernel
src
Lib
DataHandle.cpp
Generated on Mon Apr 7 2025 16:26:23 for The Gaudi Framework by
1.8.18