| The Gaudi Framework v28r2p1 (f1a77ff4)

- Main Page
- Related Pages
- Modules
- Namespaces
- Classes
- Files

- File List
- File Members

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"
5 #include "GaudiKernel/DataObject.h"
6
7 #include <ostream>
8 #include <string>
9
10 class IVersHistoryObj;
11
21 class GAUDI_API HistoryObj : public DataObject
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.
38 GAUDI_API std::ostream& operator<<( std::ostream& lhs, const HistoryObj& rhs );
39
40 #endif
HistoryObj::clID
const CLID & clID() const override
Retrieve reference to class definition structure.
Definition: HistoryObj.h:27
ClassID.h
DataObject::classID
static const CLID & classID()
Retrieve reference to class definition structure (static access)
Definition: DataObject.cpp:73
HistoryObj
Base class for History Objects.
Definition: HistoryObj.h:21
std::string
STL class.
CLID
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
DataObject::operator<<
friend std::ostream & operator<<(std::ostream &s, const DataObject &obj)
Output operator (ASCII)
Definition: DataObject.h:99
IVersHistoryObj
Interface for Versioned History Objects.
Definition: IVersHistoryObj.h:17
GAUDI_API
#define GAUDI_API
Definition: Kernel.h:107
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition: DataObject.h:30
std::ostream
STL class.
DataObject.h