Loading [MathJax]/extensions/tex2jax.js
The Gaudi Framework  v31r0 (aeb156f0)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 public:
23  HistoryObj() = default;
24  virtual ~HistoryObj() = default;
25 
26  const CLID& clID() const override { return classID(); }
27  static const CLID& classID();
28  static std::string convert_string( const std::string& );
29 
30  virtual void dump( std::ostream&, const bool isXML = false, int indent = 0 ) const = 0;
31 
32 protected:
33  virtual void indent( std::ostream&, int ) const;
34 };
35 
36 // Output stream.
38 
39 #endif
const CLID & clID() const override
Retrieve reference to class definition structure.
Definition: HistoryObj.h:26
static const CLID & classID()
Retrieve reference to class definition structure (static access)
Definition: DataObject.cpp:59
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:87
Interface for Versioned History Objects.
#define GAUDI_API
Definition: Kernel.h:71
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
STL class.