All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
HistoryObj Class Referenceabstract

Base class for History Objects. More...

#include <GaudiKernel/HistoryObj.h>

Inheritance diagram for HistoryObj:
Collaboration diagram for HistoryObj:

Public Member Functions

 HistoryObj ()
 
virtual ~HistoryObj ()
 
virtual const CLIDclID () const
 Retrieve reference to class definition structure. More...
 
virtual void dump (std::ostream &, const bool isXML=false, int indent=0) const =0
 
- Public Member Functions inherited from DataObject
 DataObject ()
 Standard Constructor. More...
 
 DataObject (const DataObject &)
 Copy Constructor. 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::string & name () 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::ostream & fillStream (std::ostream &s) const
 Fill the output stream (ASCII) More...
 

Static Public Member Functions

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...
 

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.

22 {
23 
24 }
HistoryObj::~HistoryObj ( )
virtual

Definition at line 22 of file VirtualDestructors.cpp.

22 {}

Member Function Documentation

const CLID & HistoryObj::classID ( )
static

Definition at line 62 of file HistoryObj.cpp.

62  {
63 
64  static CLID CLID_HistoryObj = 86452397;
65  return CLID_HistoryObj;
66 
67 }
unsigned int CLID
Class ID definition.
Definition: ClassID.h:9
virtual const CLID& HistoryObj::clID ( ) const
inlinevirtual

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.

29 { return classID(); }
static const CLID & classID()
Definition: HistoryObj.cpp:62
std::string HistoryObj::convert_string ( const std::string &  input_string)
static

Definition at line 29 of file HistoryObj.cpp.

29  {
30 
31  //Conversion of special characteres into xml language
32 
33  std::string::const_iterator itr_string;
34  std::string modified_string;
35 
36  for(itr_string=input_string.begin(); itr_string!=input_string.end(); itr_string++) {
37  if (*itr_string == '&') modified_string.append("&amp;");
38  else if (*itr_string == '<') modified_string.append("&lt;");
39  else if (*itr_string == '>') modified_string.append("&gt;");
40  else if (*itr_string == '"') modified_string.append("&quot;");
41  else if (*itr_string == '\'') modified_string.append("&apos;");
42  else if (*itr_string == '\"') modified_string.append("&quot;");
43  else modified_string+=*itr_string;
44  }
45 
46  return modified_string;
47 }
virtual void HistoryObj::dump ( std::ostream &  ,
const bool  isXML = false,
int  indent = 0 
) const
pure virtual
void HistoryObj::indent ( std::ostream &  ost,
int  i 
) const
protectedvirtual

Definition at line 52 of file HistoryObj.cpp.

52  {
53  while (i > 0) {
54  ost << " ";
55  i--;
56  }
57 }
list i
Definition: ana.py:128

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