Gaudi Framework, version v24r2

Home   Generated: Wed Dec 4 2013
 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 
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  // Return the jobHistory
80  const JobHistory* jobHistory() const { return m_jobHistory; }
81 
82  void dump(std::ostream &, const bool isXML=false, int indent=0) const;
83 
84  const std::string& name() const { return algtool_name(); }
85  const std::string& type() const { return algtool_type(); }
86  const std::string& version() const { return algtool_version(); }
87 
88 
89 };
90 
91 // Output stream.
93 
94 #endif
95 

Generated at Wed Dec 4 2013 14:33:08 for Gaudi Framework, version v24r2 by Doxygen version 1.8.2 written by Dimitri van Heesch, © 1997-2004