#include <JobHistory.h>
Inheritance diagram for JobHistory:
inline code of class DataObject | |
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). | |
std::ostream & | operator<< (std::ostream &s, const DataObject &obj) |
Output operator (ASCII). | |
Public Types | |
typedef std::vector< std::pair< std::string, const Property * > > | PropertyList |
Public Member Functions | |
JobHistory () | |
JobHistory (const std::string &rel, const std::string &os, const std::string &host, const std::string &dir, const std::string &osver, const std::string &mach, const std::string &cmtconfig, const time_t &time) | |
~JobHistory () | |
virtual const CLID & | clID () const |
Retrieve reference to class definition structure. | |
void | addProperty (const std::string &, const Property *) |
std::string | release_version () const |
std::string | os () const |
std::string | hostname () const |
std::string | os_version () const |
std::string | machine () const |
std::string | dir () const |
std::string | cmtconfig () const |
std::vector< std::string > | environment () const |
const PropertyList & | properties () const |
time_t | start_time () const |
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 StreamBuffer & | serialize (StreamBuffer &s) |
Serialization mechanism: Serialize the object for reading. | |
virtual StreamBuffer & | serialize (StreamBuffer &s) const |
Serialization mechanism: Serialize the object for writing. | |
Static Public Member Functions | |
static const CLID & | classID () |
Retrieve reference to class definition structure (static access). | |
Private Attributes | |
std::string | m_release_version |
std::string | m_dir |
std::string | m_cmtconfig |
std::string | m_osname |
std::string | m_hostname |
std::string | m_os_version |
std::string | m_machine |
std::vector< std::string > | m_environ |
PropertyList | m_props |
std::vector< std::string > | m_CVSid |
time_t | m_start_time |
Definition at line 24 of file JobHistory.h.
typedef std::vector< std::pair<std::string,const Property*> > JobHistory::PropertyList |
Definition at line 28 of file JobHistory.h.
JobHistory::JobHistory | ( | ) |
JobHistory::JobHistory | ( | const std::string & | rel, | |
const std::string & | os, | |||
const std::string & | host, | |||
const std::string & | dir, | |||
const std::string & | osver, | |||
const std::string & | mach, | |||
const std::string & | cmtconfig, | |||
const time_t & | time | |||
) |
JobHistory::~JobHistory | ( | ) |
virtual const CLID& JobHistory::clID | ( | ) | const [inline, virtual] |
Retrieve reference to class definition structure.
Reimplemented from HistoryObj.
Definition at line 62 of file JobHistory.h.
00062 { return classID(); }
static const CLID& JobHistory::classID | ( | ) | [static] |
void JobHistory::addProperty | ( | const std::string & | , | |
const Property * | ||||
) |
std::string JobHistory::release_version | ( | ) | const [inline] |
std::string JobHistory::os | ( | ) | const [inline] |
std::string JobHistory::hostname | ( | ) | const [inline] |
std::string JobHistory::os_version | ( | ) | const [inline] |
std::string JobHistory::machine | ( | ) | const [inline] |
std::string JobHistory::dir | ( | ) | const [inline] |
std::string JobHistory::cmtconfig | ( | ) | const [inline] |
std::vector<std::string> JobHistory::environment | ( | ) | const [inline] |
const PropertyList& JobHistory::properties | ( | ) | const [inline] |
time_t JobHistory::start_time | ( | ) | const [inline] |
virtual unsigned long DataObject::addRef | ( | ) | [virtual, inherited] |
Add reference to object.
virtual unsigned long DataObject::release | ( | ) | [virtual, inherited] |
release reference to object
const std::string& DataObject::name | ( | ) | const [inherited] |
Retreive DataObject name. It is the name when registered in the store.
Reimplemented in NTuple::File, and ServiceHistory.
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.
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 }
std::string JobHistory::m_release_version [private] |
Definition at line 32 of file JobHistory.h.
std::string JobHistory::m_dir [private] |
Definition at line 33 of file JobHistory.h.
std::string JobHistory::m_cmtconfig [private] |
Definition at line 34 of file JobHistory.h.
std::string JobHistory::m_osname [private] |
Definition at line 36 of file JobHistory.h.
std::string JobHistory::m_hostname [private] |
Definition at line 37 of file JobHistory.h.
std::string JobHistory::m_os_version [private] |
Definition at line 38 of file JobHistory.h.
std::string JobHistory::m_machine [private] |
Definition at line 39 of file JobHistory.h.
std::vector<std::string> JobHistory::m_environ [private] |
Definition at line 41 of file JobHistory.h.
PropertyList JobHistory::m_props [private] |
Definition at line 43 of file JobHistory.h.
std::vector<std::string> JobHistory::m_CVSid [private] |
Definition at line 45 of file JobHistory.h.
time_t JobHistory::m_start_time [private] |
Definition at line 46 of file JobHistory.h.