3 #ifndef GAUDIKERNEL_ALGORITHMHISTORY_H
4 #define GAUDIKERNEL_ALGORITHMHISTORY_H
9 #include "GaudiKernel/HistoryObj.h"
10 #include "GaudiKernel/IVersHistoryObj.h"
34 typedef std::vector<const AlgorithmHistory*> HistoryList;
39 std::string m_algorithm_type;
42 std::string m_algorithm_version;
45 std::string m_algorithm_name;
54 HistoryList m_subalgorithm_histories;
66 const std::string& algName,
67 const std::string& algType,
69 const HistoryList& subHists);
78 const std::string& algorithm_type()
const {
return m_algorithm_type; }
81 const std::string& algorithm_version()
const {
return m_algorithm_version; }
84 const std::string& algorithm_name()
const {
return m_algorithm_name; }
87 const Algorithm* algorithm()
const {
return m_algorithm; }
93 const HistoryList& subalgorithm_histories()
const
94 {
return m_subalgorithm_histories; }
97 const JobHistory* jobHistory()
const {
return m_jobHistory; }
100 void dump(std::ostream &,
const bool isXML=
false,
int indent=0)
const;
102 const std::string&
name()
const {
return algorithm_name(); }
103 const std::string&
type()
const {
return algorithm_type(); }
104 const std::string&
version()
const {
return algorithm_version(); }
GAUDI_API std::ostream & operator<<(std::ostream &lhs, const AlgorithmHistory &rhs)
static const CLID & classID()
virtual void dump(std::ostream &, const bool isXML=false, int indent=0) const =0
AlgorithmHistory class definition.
Base class for History Objects.
JobHistory class definition.
unsigned int CLID
Class ID definition.
unsigned char version() const
Retrieve version number of this object representation.
Base class from which all concrete algorithm classes should be derived.
Property base class allowing Property* collections to be "homogeneous".
virtual const PropertyList & properties() const =0
virtual const CLID & clID() const
Retrieve reference to class definition structure.
const std::string & name() const
Retreive DataObject name. It is the name when registered in the store.
Interface for Versioned History Objects.