Gaudi Framework, version v23r0 |
Home | Generated: Mon Jan 30 2012 |
Base class for History Objects. More...
#include <GaudiKernel/HistoryObj.h>
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 |
Static Public Member Functions | |
static const CLID & | classID () |
Retrieve reference to class definition structure (static access) | |
static std::string | convert_string (const std::string &) |
Protected Member Functions | |
virtual void | indent (std::ostream &, int) const |
Base class for History Objects.
Definition at line 24 of file HistoryObj.h.
HistoryObj::HistoryObj | ( | ) |
Definition at line 21 of file HistoryObj.cpp.
{ }
HistoryObj::~HistoryObj | ( | ) | [virtual] |
Definition at line 22 of file VirtualDestructors.cpp.
{}
const CLID & HistoryObj::classID | ( | ) | [static] |
Retrieve reference to class definition structure (static access)
Retrieve Pointer to class definition structure.
Reimplemented from DataObject.
Reimplemented in AlgorithmHistory, AlgToolHistory, DataHistory, JobHistory, and ServiceHistory.
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, AlgToolHistory, DataHistory, JobHistory, 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("&"); else if (*itr_string == '<') modified_string.append("<"); else if (*itr_string == '>') modified_string.append(">"); else if (*itr_string == '"') modified_string.append("""); else if (*itr_string == '\'') modified_string.append("'"); else if (*itr_string == '\"') modified_string.append("""); 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, AlgToolHistory, DataHistory, JobHistory, and ServiceHistory.
void HistoryObj::indent | ( | std::ostream & | ost, |
int | i | ||
) | const [protected, virtual] |
Definition at line 52 of file HistoryObj.cpp.