HistoryObj.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_HISTORYOBJ_H
2 #define GAUDIKERNEL_HISTORYOBJ_H
3 
5 #include "GaudiKernel/ClassID.h"
6 #include <string>
7 #include <ostream>
8 #include <vector>
9 
10 class Property;
11 class IVersHistoryObj;
12 
23 public:
24  HistoryObj() = default;
25  virtual ~HistoryObj() = default;
26 
27  virtual const CLID& clID() const { return classID(); }
28  static const CLID& classID();
29  static std::string convert_string(const std::string&);
30 
31  virtual void dump(std::ostream&, const bool isXML=false,
32  int indent=0) const = 0;
33 
34  protected:
35  virtual void indent(std::ostream&, int) const;
36 
37 };
38 
39 // Output stream.
41 
42 
43 #endif
GAUDI_API std::ostream & operator<<(std::ostream &lhs, const HistoryObj &rhs)
Definition: HistoryObj.cpp:61
static const CLID & classID()
Retrieve reference to class definition structure (static access)
Definition: DataObject.cpp:73
Base class for History Objects.
Definition: HistoryObj.h:22
STL class.
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
Property base class allowing Property* collections to be "homogeneous".
Definition: Property.h:38
virtual const CLID & clID() const
Retrieve reference to class definition structure.
Definition: HistoryObj.h:27
Interface for Versioned History Objects.
#define GAUDI_API
Definition: Kernel.h:107
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
STL class.