The Gaudi Framework
v33r0 (d5ea422b)
HistoryObj.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#ifndef GAUDIKERNEL_HISTORYOBJ_H
12
#define GAUDIKERNEL_HISTORYOBJ_H
13
14
#include "
GaudiKernel/ClassID.h
"
15
#include "
GaudiKernel/DataObject.h
"
16
17
#include <ostream>
18
#include <string>
19
20
class
IVersHistoryObj
;
21
31
class
GAUDI_API
HistoryObj
:
public
DataObject
{
32
public
:
33
HistoryObj
() =
default
;
34
virtual
~
HistoryObj
() =
default
;
35
36
const
CLID
&
clID
()
const override
{
return
classID
(); }
37
static
const
CLID
&
classID
();
38
static
std::string
convert_string(
const
std::string
& );
39
40
virtual
void
dump(
std::ostream
&,
const
bool
isXML =
false
,
int
indent = 0 )
const
= 0;
41
42
protected
:
43
virtual
void
indent(
std::ostream
&,
int
)
const
;
44
};
45
46
// Output stream.
47
GAUDI_API
std::ostream
&
operator<<
(
std::ostream
& lhs,
const
HistoryObj
& rhs );
48
49
#endif
ClassID.h
operator<<
GAUDI_API std::ostream & operator<<(std::ostream &lhs, const HistoryObj &rhs)
Definition:
HistoryObj.cpp:75
DataObject::classID
static const CLID & classID()
Retrieve reference to class definition structure (static access)
Definition:
DataObject.cpp:69
HistoryObj
Base class for History Objects.
Definition:
HistoryObj.h:31
HistoryObj::clID
const CLID & clID() const override
Retrieve reference to class definition structure.
Definition:
HistoryObj.h:36
std::string
STL class.
CLID
unsigned int CLID
Class ID definition.
Definition:
ClassID.h:18
IVersHistoryObj
Interface for Versioned History Objects.
Definition:
IVersHistoryObj.h:28
GAUDI_API
#define GAUDI_API
Definition:
Kernel.h:81
DataObject
A DataObject is the base class of any identifiable object on any data store.
Definition:
DataObject.h:40
std::ostream
STL class.
DataObject.h
GaudiKernel
GaudiKernel
HistoryObj.h
Generated on Mon Dec 16 2019 23:26:33 for The Gaudi Framework by
1.8.15