The Gaudi Framework
master (37c0b60a)
EventContext.cpp
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 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/EventContext.h
>
12
13
std::ostream
&
operator<<
(
std::ostream
& os,
const
EventContext
&
ctx
) {
return
os <<
fmt::format
(
"{}"
,
ctx
); }
14
15
std::ostream
&
operator<<
(
std::ostream
& os,
const
EventContext
*
c
) {
16
if
(
c
) {
return
os <<
fmt::format
(
"{}"
, *
c
); }
17
return
os <<
"INVALID"
;
18
}
gaudirun.c
c
Definition:
gaudirun.py:525
GaudiPython.Pythonizations.ctx
ctx
Definition:
Pythonizations.py:578
std::ostream
STL class.
format
GAUDI_API std::string format(const char *,...)
MsgStream format utility "a la sprintf(...)".
Definition:
MsgStream.cpp:119
EventContext.h
EventContext
Definition:
EventContext.h:34
operator<<
std::ostream & operator<<(std::ostream &os, const EventContext &ctx)
Definition:
EventContext.cpp:13
GaudiKernel
src
Lib
EventContext.cpp
Generated on Thu Dec 19 2024 15:35:03 for The Gaudi Framework by
1.8.18