Gaudi Framework, version v23r5

Home   Generated: Wed Nov 28 2012
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
AlgToolHistory.h
Go to the documentation of this file.
1 // $Id: AlgToolHistory.h,v 1.1 2006/11/09 10:24:04 mato Exp $
2 
3 #ifndef GAUDIKERNEL_ALGTOOLHISTORY_H
4 #define GAUDIKERNEL_ALGTOOLHISTORY_H
5 
8 
9 class Property;
10 class AlgTool;
11 class JobHistory;
12 
13 #include <string>
14 #include <vector>
15 
24 class GAUDI_API AlgToolHistory: public HistoryObj, virtual public IVersHistoryObj {
25 
26 private: // data
27 
28  // Algtool full type.
30 
31  // Algtool version.
33 
34  // Algtool name.
36 
37  // Pointer to the algtool
38  const AlgTool *m_tool;
39 
40  // Properties.
42 
43  // Link to jobHistory
45 
46 public:
47 
48  AlgToolHistory(const AlgTool& alg, const JobHistory* job);
49 
50  AlgToolHistory(const std::string& algVersion,
51  const std::string& algName,
52  const std::string& algType,
53  const AlgTool* tool,
54  const PropertyList& props,
55  const JobHistory* job);
56 
57  // Destructor.
58  virtual ~AlgToolHistory() {};
59 
60  // Class IDs
61  virtual const CLID& clID() const { return classID(); }
62  static const CLID& classID();
63 
64  // Return the algtool type.
65  const std::string& algtool_type() const { return m_type; }
66 
67  // Return the algtool version.
68  const std::string& algtool_version() const { return m_version; }
69 
70  // Return the algtool name.
71  const std::string& algtool_name() const { return m_name; }
72 
73  // Pointer to the algtool
74  const AlgTool* algtool_instance() const { return m_tool; }
75 
76  // Return the algorithm properties.
77  const PropertyList& properties() const { return m_properties; }
78 
79  void dump(std::ostream &, const bool isXML=false, int indent=0) const;
80 
81  const std::string& name() const { return algtool_name(); }
82  const std::string& type() const { return algtool_type(); }
83  const std::string& version() const { return algtool_version(); }
84 
85 
86 };
87 
88 // Output stream.
90 
91 #endif
92 

Generated at Wed Nov 28 2012 12:17:12 for Gaudi Framework, version v23r5 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004