Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  master (d98a2936)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
DataHistory.cpp
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 \***********************************************************************************/
13 #include <iostream>
14 
15 using std::endl;
16 using std::ostream;
17 
19  : m_dataClassID( id ), m_dataKey( std::move( key ) ), m_algHist( alg ) {}
20 
22  static const CLID CLID_DataHistory = 83814411; // from `clid DataHistory`
23 
24  return CLID_DataHistory;
25 }
26 
27 std::ostream& DataHistory::dump( std::ostream& ost, bool /*isXML*/, int /*ind*/ ) const {
28  return ost << "ClassID: " << dataClassID() << '\n'
29  << "Key: " << dataKey() << '\n'
30  << "AlgorithmHistory: " << (void*)algorithmHistory() << endl;
31 }
DataHistory::algorithmHistory
AlgorithmHistory * algorithmHistory() const
Definition: DataHistory.h:52
GaudiPartProp.decorators.std
std
Definition: decorators.py:32
DataHistory::classID
static const CLID & classID()
Definition: DataHistory.cpp:21
GaudiPartProp.tests.id
id
Definition: tests.py:111
ManySmallAlgs.alg
alg
Definition: ManySmallAlgs.py:81
DataHistory::DataHistory
DataHistory(const CLID &id, std::string key, AlgorithmHistory *alg)
Definition: DataHistory.cpp:18
AlgorithmHistory
Definition: AlgorithmHistory.h:37
DataHistory::dump
std::ostream & dump(std::ostream &, const bool isXML, int indent) const override
Definition: DataHistory.cpp:27
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:16
DataHistory::dataClassID
const CLID & dataClassID() const
Definition: DataHistory.h:50
AlgorithmHistory.h
DataHistory::dataKey
const std::string & dataKey() const
Definition: DataHistory.h:49
DataHistory.h
ProduceConsume.key
key
Definition: ProduceConsume.py:84