| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

In This Package:

ServiceHistory Class Reference

ServiceHistory class definition. More...

#include <ServiceHistory.h>

Inheritance diagram for ServiceHistory:

[legend]
Collaboration diagram for ServiceHistory:
[legend]
List of all members.

inline code of class DataObject

void setRegistry (IRegistry *pRegistry)
 Set pointer to Registry.
IRegistryregistry () const
 Get pointer to Registry.
LinkManagerlinkMgr () 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).
std::ostream & operator<< (std::ostream &s, const DataObject &obj)
 Output operator (ASCII).

Public Types

typedef std::vector< Property * > PropertyList

Public Member Functions

 ServiceHistory ()
 ServiceHistory (const IService *, const JobHistory *)
 ServiceHistory (const IService &, const JobHistory *)
virtual ~ServiceHistory ()
virtual const CLIDclID () const
 Retrieve reference to class definition structure.
const PropertyListproperties () const
std::string name () const
 Retreive DataObject name. It is the name when registered in the store.
std::string type () const
const IServiceservice () const
const JobHistoryjobHistory () const
virtual unsigned long addRef ()
 Add reference to object.
virtual unsigned long release ()
 release reference to object
virtual StreamBufferserialize (StreamBuffer &s)
 Serialization mechanism: Serialize the object for reading.
virtual StreamBufferserialize (StreamBuffer &s) const
 Serialization mechanism: Serialize the object for writing.

Static Public Member Functions

static const CLIDclassID ()
 Retrieve reference to class definition structure (static access).

Private Attributes

const IServicem_pService
const JobHistorym_jobHistory
std::string m_name
std::string m_type
PropertyList m_properties

Detailed Description

ServiceHistory class definition.

Author:
: Charles Leggett

Definition at line 23 of file ServiceHistory.h.


Member Typedef Documentation

typedef std::vector<Property*> ServiceHistory::PropertyList

Definition at line 28 of file ServiceHistory.h.


Constructor & Destructor Documentation

ServiceHistory::ServiceHistory (  ) 

ServiceHistory::ServiceHistory ( const IService ,
const JobHistory  
)

ServiceHistory::ServiceHistory ( const IService ,
const JobHistory  
)

virtual ServiceHistory::~ServiceHistory (  )  [virtual]


Member Function Documentation

virtual const CLID& ServiceHistory::clID (  )  const [inline, virtual]

Retrieve reference to class definition structure.

Reimplemented from HistoryObj.

Definition at line 38 of file ServiceHistory.h.

00038 { return classID(); }

static const CLID& ServiceHistory::classID (  )  [static]

Retrieve reference to class definition structure (static access).

Reimplemented from HistoryObj.

const PropertyList& ServiceHistory::properties (  )  const [inline]

Definition at line 42 of file ServiceHistory.h.

00042 { return m_properties; }

std::string ServiceHistory::name (  )  const [inline]

Retreive DataObject name. It is the name when registered in the store.

Reimplemented from DataObject.

Definition at line 44 of file ServiceHistory.h.

00044 { return m_name; }

std::string ServiceHistory::type (  )  const [inline]

Definition at line 45 of file ServiceHistory.h.

00045 { return m_type; }

const IService* ServiceHistory::service (  )  const [inline]

Definition at line 46 of file ServiceHistory.h.

00046 { return m_pService; }

const JobHistory* ServiceHistory::jobHistory (  )  const [inline]

Definition at line 48 of file ServiceHistory.h.

00048 { return m_jobHistory; }

virtual unsigned long DataObject::addRef (  )  [virtual, inherited]

Add reference to object.

virtual unsigned long DataObject::release (  )  [virtual, inherited]

release reference to object

virtual StreamBuffer& DataObject::serialize ( StreamBuffer s  )  [virtual, inherited]

Serialization mechanism: Serialize the object for reading.

Reimplemented in RefTableBase< FROM, MAPENTRY >, RefTableBase< FROM, SmartRefVector< TO > >, and RefTableBase< FROM, SmartRef< TO > >.

virtual StreamBuffer& DataObject::serialize ( StreamBuffer s  )  const [virtual, inherited]

Serialization mechanism: Serialize the object for writing.

Reimplemented in RefTableBase< FROM, MAPENTRY >, RefTableBase< FROM, SmartRefVector< TO > >, and RefTableBase< FROM, SmartRef< TO > >.

void DataObject::setRegistry ( IRegistry pRegistry  )  [inline, inherited]

Set pointer to Registry.

Definition at line 67 of file DataObject.h.

00067                                             {
00068     m_pRegistry = pRegistry;
00069   }

IRegistry* DataObject::registry (  )  const [inline, inherited]

Get pointer to Registry.

Definition at line 71 of file DataObject.h.

00071                                 {
00072     return m_pRegistry;
00073   }

LinkManager* DataObject::linkMgr (  )  const [inline, inherited]

Retrieve Link manager.

Definition at line 75 of file DataObject.h.

00075                                     {
00076     return m_pLinkMgr;
00077   }

unsigned char DataObject::version (  )  const [inline, inherited]

Retrieve version number of this object representation.

Definition at line 79 of file DataObject.h.

00079                                     {
00080     return m_version;
00081   }

void DataObject::setVersion ( unsigned char  vsn  )  [inline, inherited]

Set version number of this object representation.

Definition at line 83 of file DataObject.h.

00083                                         {
00084     m_version = vsn;
00085   }

unsigned long DataObject::refCount (  )  const [inline, inherited]

Return the refcount.

Definition at line 87 of file DataObject.h.

00087                                  {
00088     return m_refCount;
00089   }

virtual std::ostream& DataObject::fillStream ( std::ostream &  s  )  const [inline, virtual, inherited]

Fill the output stream (ASCII).

Reimplemented in ObjectList< TYPE >, and ObjectVector< TYPE >.

Definition at line 91 of file DataObject.h.

00091                                                         {
00092     s << "DataObject at " << std::hex << this;
00093     return s;
00094   }


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  s,
const DataObject obj 
) [friend, inherited]

Output operator (ASCII).

Definition at line 96 of file DataObject.h.

00096                                                                          {
00097     return obj.fillStream(s);
00098   }


Member Data Documentation

const IService* ServiceHistory::m_pService [private]

Definition at line 52 of file ServiceHistory.h.

const JobHistory* ServiceHistory::m_jobHistory [private]

Definition at line 53 of file ServiceHistory.h.

std::string ServiceHistory::m_name [private]

Definition at line 54 of file ServiceHistory.h.

std::string ServiceHistory::m_type [private]

Definition at line 54 of file ServiceHistory.h.

PropertyList ServiceHistory::m_properties [private]

Definition at line 55 of file ServiceHistory.h.


The documentation for this class was generated from the following file:
| Classes | Job Modules | Data Objects | Services | Algorithms | Tools | Packages | Directories | Tracs |

Generated on Mon Apr 11 19:57:14 2011 for GaudiKernel by doxygen 1.4.7