The Gaudi Framework  v29r0 (ff2e7097)
DataHistory Class Reference

DataHistory class definition. More...

#include <GaudiKernel/DataHistory.h>

Inheritance diagram for DataHistory:
Collaboration diagram for DataHistory:

Classes

class  DataHistoryOrder
 

Public Member Functions

 DataHistory (const CLID &id, std::string key, AlgorithmHistory *alg)
 
 ~DataHistory () override=default
 
const CLIDclID () const override
 Retrieve reference to class definition structure. More...
 
std::string dataKey () const
 
const CLIDdataClassID () const
 
AlgorithmHistoryalgorithmHistory () const
 
void dump (std::ostream &, const bool isXML=false, int indent=0) const override
 
- Public Member Functions inherited from HistoryObj
 HistoryObj ()=default
 
virtual ~HistoryObj ()=default
 
const CLIDclID () const override
 Retrieve reference to class definition structure. More...
 
- Public Member Functions inherited from DataObject
 DataObject ()
 Standard Constructor. More...
 
 DataObject (const DataObject &rhs)
 Copy Constructor. More...
 
DataObjectoperator= (const DataObject &rhs)
 Assignment Operator. More...
 
 DataObject (DataObject &&rhs)
 Move Constructor. More...
 
DataObjectoperator= (DataObject &&rhs)
 Move Assignment Operator. More...
 
virtual ~DataObject ()
 Standard Destructor. More...
 
virtual unsigned long addRef ()
 Add reference to object. More...
 
virtual unsigned long release ()
 release reference to object More...
 
const std::stringname () const
 Retreive DataObject name. It is the name when registered in the store. More...
 
virtual StatusCode update ()
 Provide empty placeholder for internal object reconfiguration callback. More...
 
void setRegistry (IRegistry *pRegistry)
 Set pointer to Registry. More...
 
IRegistryregistry () const
 Get pointer to Registry. More...
 
LinkManagerlinkMgr () const
 Retrieve Link manager. More...
 
unsigned char version () const
 Retrieve version number of this object representation. More...
 
void setVersion (unsigned char vsn)
 Set version number of this object representation. More...
 
unsigned long refCount () const
 Return the refcount. More...
 
virtual std::ostreamfillStream (std::ostream &s) const
 Fill the output stream (ASCII) More...
 

Static Public Member Functions

static const CLIDclassID ()
 
- Static Public Member Functions inherited from HistoryObj
static const CLIDclassID ()
 
static std::string convert_string (const std::string &)
 
- Static Public Member Functions inherited from DataObject
static const CLIDclassID ()
 Retrieve reference to class definition structure (static access) More...
 

Private Attributes

CLID m_dataClassID
 
std::string m_dataKey
 
AlgorithmHistorym_algHist
 
std::string m_dummy = "none"
 

Additional Inherited Members

- Protected Member Functions inherited from HistoryObj
virtual void indent (std::ostream &, int) const
 

Detailed Description

DataHistory class definition.

Author
: Charles Leggett

Definition at line 23 of file DataHistory.h.

Constructor & Destructor Documentation

DataHistory::DataHistory ( const CLID id,
std::string  key,
AlgorithmHistory alg 
)

Definition at line 25 of file DataHistory.cpp.

26  : m_dataClassID( id ), m_dataKey( std::move( key ) ), m_algHist( alg )
27 {
28 }
AlgorithmHistory * m_algHist
Definition: DataHistory.h:73
T move(T...args)
CLID m_dataClassID
Definition: DataHistory.h:71
std::string m_dataKey
Definition: DataHistory.h:72
DataHistory::~DataHistory ( )
overridedefault

Member Function Documentation

AlgorithmHistory* DataHistory::algorithmHistory ( ) const
inline

Definition at line 66 of file DataHistory.h.

66 { return m_algHist; }
AlgorithmHistory * m_algHist
Definition: DataHistory.h:73
const CLID & DataHistory::classID ( )
static

Definition at line 32 of file DataHistory.cpp.

33 {
34  static const CLID CLID_DataHistory = 83814411; // from `clid DataHistory`
35 
36  return CLID_DataHistory;
37 }
unsigned int CLID
Class ID definition.
Definition: ClassID.h:8
const CLID& DataHistory::clID ( ) const
inlineoverridevirtual

Retrieve reference to class definition structure.

Retrieve Pointer to class definition structure.

Reimplemented from DataObject.

Definition at line 60 of file DataHistory.h.

60 { return DataHistory::classID(); }
static const CLID & classID()
Definition: DataHistory.cpp:32
const CLID& DataHistory::dataClassID ( ) const
inline

Definition at line 64 of file DataHistory.h.

64 { return m_dataClassID; }
CLID m_dataClassID
Definition: DataHistory.h:71
std::string DataHistory::dataKey ( ) const
inline

Definition at line 63 of file DataHistory.h.

63 { return m_dataKey; }
std::string m_dataKey
Definition: DataHistory.h:72
void DataHistory::dump ( std::ostream ost,
const bool  isXML = false,
int  indent = 0 
) const
overridevirtual

Implements HistoryObj.

Definition at line 41 of file DataHistory.cpp.

42 {
43  ost << "ClassID: " << dataClassID() << endl
44  << "Key: " << dataKey() << endl
45  << "AlgorithmHistory: " << (void*)algorithmHistory() << endl;
46 }
AlgorithmHistory * algorithmHistory() const
Definition: DataHistory.h:66
T endl(T...args)
std::string dataKey() const
Definition: DataHistory.h:63
const CLID & dataClassID() const
Definition: DataHistory.h:64

Member Data Documentation

AlgorithmHistory* DataHistory::m_algHist
private

Definition at line 73 of file DataHistory.h.

CLID DataHistory::m_dataClassID
private

Definition at line 71 of file DataHistory.h.

std::string DataHistory::m_dataKey
private

Definition at line 72 of file DataHistory.h.

std::string DataHistory::m_dummy = "none"
private

Definition at line 74 of file DataHistory.h.


The documentation for this class was generated from the following files: