ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
DataQuality
DataQualityInterfaces
src
HanConfigParMap.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
// **********************************************************************
6
// $Id: HanConfigParMap.cxx,v 1.1 2008-09-10 11:40:09 ponyisi Exp $
7
// **********************************************************************
8
9
#include "
DataQualityInterfaces/HanConfigParMap.h
"
10
11
#include <iomanip>
12
#include <sstream>
13
14
#include <TObjString.h>
15
16
17
//Get rid of Root macros that confuse Doxygen
19
ClassImp
(
dqi::HanConfigParMap
)
21
22
23
namespace
dqi
{
24
25
// *********************************************************************
26
// Public Methods
27
// *********************************************************************
28
29
HanConfigParMap::
30
HanConfigParMap
()
31
:
m_name
(
""
)
32
,
m_value
(
""
)
33
{
34
}
35
36
HanConfigParMap::
37
HanConfigParMap
(
const
HanConfigParMap
& other)
38
: TObject()
39
,
m_name
(other.
m_name
)
40
,
m_value
(other.
m_value
)
41
{
42
}
43
44
45
HanConfigParMap::
46
~HanConfigParMap
()
47
{
48
}
49
50
51
void
52
HanConfigParMap::
53
SetName
(
const
std::string& name_ )
54
{
55
m_name
.SetString( name_.c_str() );
56
}
57
58
59
const
char
*
60
HanConfigParMap::
61
GetName
()
const
62
{
63
return
m_name
.GetName();
64
}
65
66
67
void
68
HanConfigParMap::
69
SetValue
(
const
std::string& value_ )
70
{
71
m_value
.SetString( value_.c_str() );
72
}
73
74
75
const
char
*
76
HanConfigParMap::
77
GetValue
()
const
78
{
79
return
m_value
.GetName();
80
}
81
82
83
void
84
HanConfigParMap::
85
PrintIOStream
( std::ostream& o )
const
86
{
87
o <<
GetName
() <<
" = "
<<
GetValue
() <<
"\n"
;
88
}
89
90
TList *
91
HanConfigParMap::
92
GetList
()
93
{
94
TList *ret =
new
TList();
95
96
ret->SetName( this->
GetName
() );
97
ret->Add(
new
TObjString(
m_value
.GetName()) );
98
99
return
ret;
100
}
101
102
}
// namespace dqi
103
104
105
std::ostream&
operator<<
( std::ostream& o,
const
dqi::HanConfigParMap
& p )
106
{
107
p.PrintIOStream(o);
108
return
o;
109
}
110
111
112
std::ostream&
operator<<
( std::ostream& o,
const
dqi::HanConfigParMap
* p )
113
{
114
p->PrintIOStream(o);
115
return
o;
116
}
117
operator<<
std::ostream & operator<<(std::ostream &o, const dqi::HanConfigParMap &p)
Definition
HanConfigParMap.cxx:105
HanConfigParMap.h
ClassImp
ClassImp(xAOD::Experimental::RFileChecker) namespace xAOD
Definition
RFileChecker.cxx:28
dqi::HanConfigParMap
Definition
HanConfigParMap.h:18
dqi::HanConfigParMap::~HanConfigParMap
virtual ~HanConfigParMap()
Definition
HanConfigParMap.cxx:46
dqi::HanConfigParMap::GetValue
virtual const char * GetValue() const
Definition
HanConfigParMap.cxx:77
dqi::HanConfigParMap::SetValue
virtual void SetValue(const std::string &value_)
Definition
HanConfigParMap.cxx:69
dqi::HanConfigParMap::m_value
TObjString m_value
Definition
HanConfigParMap.h:43
dqi::HanConfigParMap::GetList
virtual TList * GetList()
Definition
HanConfigParMap.cxx:92
dqi::HanConfigParMap::HanConfigParMap
HanConfigParMap()
Definition
HanConfigParMap.cxx:30
dqi::HanConfigParMap::SetName
virtual void SetName(const std::string &name_)
Definition
HanConfigParMap.cxx:53
dqi::HanConfigParMap::m_name
TObjString m_name
Definition
HanConfigParMap.h:42
dqi::HanConfigParMap::PrintIOStream
virtual void PrintIOStream(std::ostream &o) const
Definition
HanConfigParMap.cxx:85
dqi::HanConfigParMap::GetName
virtual const char * GetName() const
Definition
HanConfigParMap.cxx:61
dqi
Definition
CompositeAlgorithm.h:16
Generated on
for ATLAS Offline Software by
1.17.0