| # Gaudi Framework, version v25r0 |

Home |  | Generated: Mon Feb 17 2014

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

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Public Member Functions | Static Public Member Functions | Private Attributes | List of all members
DataHistory Class Reference

DataHistory class definition. More...

`#include <DataHistory.h>`

Inheritance diagram for DataHistory:
[legend]
Collaboration diagram for DataHistory:
[legend]

## Classes
class | DataHistoryOrder

## Public Member Functions
| DataHistory (const CLID &id, const std::string &key, AlgorithmHistory *alg)
| ~DataHistory ()
virtual const CLID & | clID () const
| Retrieve reference to class definition structure.
std::string | dataKey () const
const CLID & | dataClassID () const
AlgorithmHistory * | algorithmHistory () const
void | dump (std::ostream &, const bool isXML=false, int indent=0) const
Public Member Functions inherited from HistoryObj
| HistoryObj ()
virtual | ~HistoryObj ()
Public Member Functions inherited from DataObject
| DataObject ()
| Standard Constructor.
| DataObject (const DataObject &)
| Copy Constructor.
virtual | ~DataObject ()
| Standard Destructor.
virtual unsigned long | addRef ()
| Add reference to object.
virtual unsigned long | release ()
| release reference to object
const std::string & | name () const
| Retreive DataObject name. It is the name when registered in the store.
virtual StatusCode | update ()
| Provide empty placeholder for internal object reconfiguration callback.
void | setRegistry (IRegistry *pRegistry)
| Set pointer to Registry.
IRegistry * | registry () const
| Get pointer to Registry.
LinkManager * | linkMgr () const
| Retrieve Link manager.
unsigned char | version () const
| Retrieve version number of this object representation.
void | setVersion (unsigned char vsn)
| Set version number of this object representation.
unsigned long | refCount () const
| Return the refcount.
virtual std::ostream & | fillStream (std::ostream &s) const
| Fill the output stream (ASCII)

## Static Public Member Functions
static const CLID & | classID ()
Static Public Member Functions inherited from HistoryObj
static const CLID & | classID ()
static std::string | convert_string (const std::string &)
Static Public Member Functions inherited from DataObject
static const CLID & | classID ()
| Retrieve reference to class definition structure (static access)

## Private Attributes
CLID | m_dataClassID
std::string | m_dataKey
AlgorithmHistory * | m_algHist
std::string | m_dummy

## Additional Inherited Members
Protected Member Functions inherited from HistoryObj
virtual void | indent (std::ostream &, int) const
Friends inherited from DataObject

## Detailed Description

DataHistory class definition.

Author
  : Charles Leggett

Definition at line 25 of file DataHistory.h.

## Constructor & Destructor Documentation

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

Definition at line 27 of file DataHistory.cpp.

:
m_dataClassID(id), m_dataKey(key), m_algHist(alg), m_dummy("none")
{
}

DataHistory::~DataHistory | ( |  | ) |
| inline

Definition at line 58 of file DataHistory.h.

{};

## Member Function Documentation

AlgorithmHistory* DataHistory::algorithmHistory | ( |  | ) | const
| inline

Definition at line 67 of file DataHistory.h.

{ return m_algHist; }

const CLID & DataHistory::classID | ( |  | ) |
| static

Definition at line 38 of file DataHistory.cpp.

{
static CLID CLID_DataHistory = 83814411; // from `clid DataHistory`
return CLID_DataHistory;
}

virtual const CLID& DataHistory::clID | ( |  | ) | const
| inline virtual

Retrieve reference to class definition structure.

Retrieve Pointer to class definition structure.

Reimplemented from HistoryObj.

Definition at line 60 of file DataHistory.h.

{ return DataHistory::classID(); }

const CLID& DataHistory::dataClassID | ( |  | ) | const
| inline

Definition at line 65 of file DataHistory.h.

{ return m_dataClassID; }

std::string DataHistory::dataKey | ( |  | ) | const
| inline

Definition at line 64 of file DataHistory.h.

{ return m_dataKey; }

void DataHistory::dump | ( | std::ostream & | ost,
|  | const bool | isXML = `false`,
|  | int | indent = `0`
| ) |  | const
| virtual

Implements HistoryObj.

Definition at line 47 of file DataHistory.cpp.

{
ost << "ClassID: " << dataClassID() << endl
<< "Key: " << dataKey() << endl
<< "AlgorithmHistory: " << (void*) algorithmHistory() << endl;
}

## Member Data Documentation

AlgorithmHistory* DataHistory::m_algHist
| private

Definition at line 75 of file DataHistory.h.

CLID DataHistory::m_dataClassID
| private

Definition at line 73 of file DataHistory.h.

std::string DataHistory::m_dataKey
| private

Definition at line 74 of file DataHistory.h.

std::string DataHistory::m_dummy
| private

Definition at line 76 of file DataHistory.h.

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

- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/GaudiKernel/DataHistory.h
- /afs/cern.ch/sw/Gaudi/releases/GAUDI/GAUDI_v25r0/GaudiKernel/src/Lib/DataHistory.cpp