Gaudi Framework, version v25r2
Home
Generated: Wed Jun 4 2014
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Groups
Pages
.cern.ch
sw
Gaudi
releases
GAUDI
GAUDI_v25r2
GaudiKernel
GaudiKernel
AlgToolHistory.h
Go to the documentation of this file.
1
// $Id: AlgToolHistory.h,v 1.1 2006/11/09 10:24:04 mato Exp $
2
3
#ifndef GAUDIKERNEL_ALGTOOLHISTORY_H
4
#define GAUDIKERNEL_ALGTOOLHISTORY_H
5
6
#include "
GaudiKernel/HistoryObj.h
"
7
#include "
GaudiKernel/IVersHistoryObj.h
"
8
9
class
Property
;
10
class
AlgTool
;
11
class
JobHistory
;
12
13
#include <string>
14
#include <vector>
15
24
class
GAUDI_API
AlgToolHistory
:
public
HistoryObj
,
public
IVersHistoryObj
{
25
26
private
:
// data
27
28
// Algtool full type.
29
std::string
m_type
;
30
31
// Algtool version.
32
std::string
m_version
;
33
34
// Algtool name.
35
std::string
m_name
;
36
37
// Pointer to the algtool
38
const
AlgTool
*
m_tool
;
39
40
// Properties.
41
PropertyList
m_properties
;
42
43
// Link to jobHistory
44
const
JobHistory
*
m_jobHistory
;
45
46
public
:
47
48
AlgToolHistory
(
const
AlgTool
& alg,
const
JobHistory
* job);
49
50
AlgToolHistory
(
const
std::string& algVersion,
51
const
std::string& algName,
52
const
std::string& algType,
53
const
AlgTool
* tool,
54
const
PropertyList
& props,
55
const
JobHistory
* job);
56
57
// Destructor.
58
virtual
~AlgToolHistory
() {};
59
60
// Class IDs
61
virtual
const
CLID
&
clID
()
const
{
return
classID
(); }
62
static
const
CLID
&
classID
();
63
64
// Return the algtool type.
65
const
std::string&
algtool_type
()
const
{
return
m_type; }
66
67
// Return the algtool version.
68
const
std::string&
algtool_version
()
const
{
return
m_version
; }
69
70
// Return the algtool name.
71
const
std::string&
algtool_name
()
const
{
return
m_name; }
72
73
// Pointer to the algtool
74
const
AlgTool
*
algtool_instance
()
const
{
return
m_tool; }
75
76
// Return the algorithm properties.
77
const
PropertyList
&
properties
()
const
{
return
m_properties; }
78
79
// Return the jobHistory
80
const
JobHistory
*
jobHistory
()
const
{
return
m_jobHistory; }
81
82
void
dump
(std::ostream &,
const
bool
isXML=
false
,
int
indent
=0)
const
;
83
84
const
std::string&
name
()
const
{
return
algtool_name(); }
85
const
std::string&
type
()
const
{
return
algtool_type(); }
86
const
std::string&
version
()
const
{
return
algtool_version(); }
87
88
89
};
90
91
// Output stream.
92
GAUDI_API
std::ostream&
operator<<
(std::ostream& lhs,
const
AlgToolHistory
& rhs);
93
94
#endif
95
Generated at Wed Jun 4 2014 14:48:56 for Gaudi Framework, version v25r2 by
Doxygen
version 1.8.2 written by
Dimitri van Heesch
, © 1997-2004