Gaudi Framework, version v25r2

Home   Generated: Wed Jun 4 2014
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
DataHistory.cpp
Go to the documentation of this file.
1 
2 //
3 // $Id: DataHistory.cpp,v 1.1 2006/11/09 10:24:05 mato Exp $
4 //
5 // GaudiHistory/DataHistory.cpp
6 //
7 // Contains history information for a Data Object
8 //
9 //
10 // @author: Charles Leggett
11 //
13 
16 #include <iostream>
17 
18 using std::ostream;
19 using std::endl;
20 
21 //**********************************************************************
22 // Member functions.
23 //**********************************************************************
24 
25 // Default constructor.
26 
27 DataHistory::DataHistory(const CLID& id, const std::string& key,
28  AlgorithmHistory* alg):
29  m_dataClassID(id), m_dataKey(key), m_algHist(alg), m_dummy("none")
30 {
31 
32 
33 }
34 
35 //**********************************************************************
36 
37 const CLID&
39  static CLID CLID_DataHistory = 83814411; // from `clid DataHistory`
40 
41  return CLID_DataHistory;
42 }
43 
44 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
45 
46 void
47 DataHistory::dump(std::ostream& ost, const bool /*isXML*/, int /*ind*/) const {
48  ost << "ClassID: " << dataClassID() << endl
49  << "Key: " << dataKey() << endl
50  << "AlgorithmHistory: " << (void*) algorithmHistory() << endl;
51 }
52 
53 /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
54 
55 
56 ostream& operator<<(ostream& lhs, const DataHistory& rhs) {
57 
58  rhs.dump(lhs,false);
59 
60  return lhs;
61 
62 }

Generated at Wed Jun 4 2014 14:48:57 for Gaudi Framework, version v25r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004