| # 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
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
HistoryObj Class Referenceabstract

Base class for History Objects. More...

`#include <GaudiKernel/HistoryObj.h>`

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

## Public Member Functions
| HistoryObj ()
virtual | ~HistoryObj ()
virtual const CLID & | clID () const
| Retrieve reference to class definition structure.
virtual void | dump (std::ostream &, const bool isXML=false, int indent=0) const =0
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 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)

## Protected Member Functions
virtual void | indent (std::ostream &, int) const

## Detailed Description

Base class for History Objects.

Author
  Charles Leggett

Date
  Jul 13 2004

Definition at line 24 of file HistoryObj.h.

## Constructor & Destructor Documentation

HistoryObj::HistoryObj | ( |  | ) |

Definition at line 21 of file HistoryObj.cpp.

{
}

HistoryObj::~HistoryObj | ( |  | ) |
| virtual

Definition at line 22 of file VirtualDestructors.cpp.

{}

## Member Function Documentation

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

Definition at line 62 of file HistoryObj.cpp.

{
static CLID CLID_HistoryObj = 86452397;
return CLID_HistoryObj;
}

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

Retrieve reference to class definition structure.

Retrieve Pointer to class definition structure.

Reimplemented from DataObject.

Reimplemented in AlgorithmHistory, JobHistory, AlgToolHistory, DataHistory, and ServiceHistory.

Definition at line 29 of file HistoryObj.h.

{ return classID(); }

std::string HistoryObj::convert_string | ( | const std::string & | input_string | ) |
| static

Definition at line 29 of file HistoryObj.cpp.

{
//Conversion of special characteres into xml language
std::string::const_iterator itr_string;
std::string modified_string;
for(itr_string=input_string.begin(); itr_string!=input_string.end(); itr_string++) {
if (*itr_string == '&') modified_string.append("&amp;");
else if (*itr_string == '<') modified_string.append("&lt;");
else if (*itr_string == '>') modified_string.append("&gt;");
else if (*itr_string == '"') modified_string.append("&quot;");
else if (*itr_string == '\'') modified_string.append("&apos;");
else if (*itr_string == '\"') modified_string.append("&quot;");
else modified_string+=*itr_string;
}
return modified_string;
}

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

Implemented in AlgorithmHistory, JobHistory, AlgToolHistory, DataHistory, and ServiceHistory.

void HistoryObj::indent | ( | std::ostream & | ost,
|  | int | i
| ) |  | const
| protected virtual

Definition at line 52 of file HistoryObj.cpp.

{
while (i > 0) {
ost << " ";
i--;
}
}

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

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