The Gaudi Framework  v30r3 (a5ef0a68)
HistoryObj.h
Go to the documentation of this file.
1 #ifndef GAUDIKERNEL_HISTORYOBJ_H
2 #define GAUDIKERNEL_HISTORYOBJ_H
3 
4 #include "GaudiKernel/ClassID.h"
6 
7 #include <ostream>
8 #include <string>
9 
10 class IVersHistoryObj;
11 
22 {
23 public:
24  HistoryObj() = default;
25  virtual ~HistoryObj() = default;
26 
27  const CLID& clID() const override { 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, int indent = 0 ) const = 0;
32 
33 protected:
34  virtual void indent( std::ostream&, int ) const;
35 };
36 
37 // Output stream.
39 
40 #endif
const CLID & clID() const override
Retrieve reference to class definition structure.
Definition: HistoryObj.h:27
static const CLID & classID()
Retrieve reference to class definition structure (static access)
Definition: DataObject.cpp:65
Base class for History Objects.
Definition: HistoryObj.h:21
STL class.
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
friend std::ostream & operator<<(std::ostream &s, const DataObject &obj)
Output operator (ASCII)
Definition: DataObject.h:89
Interface for Versioned History Objects.
#define GAUDI_API
Definition: Kernel.h:104
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
STL class.