ATLAS Offline Software
Public Member Functions | Protected Attributes | List of all members
dqi::HanConfigParMap Class Reference

#include <HanConfigParMap.h>

Inheritance diagram for dqi::HanConfigParMap:
Collaboration diagram for dqi::HanConfigParMap:

Public Member Functions

 HanConfigParMap ()
 
 HanConfigParMap (const HanConfigParMap &other)
 
virtual ~HanConfigParMap ()
 
virtual void SetName (const std::string &name_)
 
virtual const char * GetName () const
 
virtual void SetValue (const std::string &value_)
 
virtual const char * GetValue () const
 
virtual void PrintIOStream (std::ostream &o) const
 
virtual TList * GetList ()
 

Protected Attributes

TObjString m_name
 
TObjString m_value
 

Detailed Description

Definition at line 18 of file HanConfigParMap.h.

Constructor & Destructor Documentation

◆ HanConfigParMap() [1/2]

dqi::HanConfigParMap::HanConfigParMap ( )

Definition at line 29 of file HanConfigParMap.cxx.

31  : m_name("")
32  , m_value("")
33 {
34 }

◆ HanConfigParMap() [2/2]

dqi::HanConfigParMap::HanConfigParMap ( const HanConfigParMap other)

Definition at line 36 of file HanConfigParMap.cxx.

38  : TObject()
39  , m_name(other.m_name)
40  , m_value(other.m_value)
41 {
42 }

◆ ~HanConfigParMap()

dqi::HanConfigParMap::~HanConfigParMap ( )
virtual

Definition at line 45 of file HanConfigParMap.cxx.

47 {
48 }

Member Function Documentation

◆ GetList()

TList * dqi::HanConfigParMap::GetList ( )
virtual

Definition at line 91 of file HanConfigParMap.cxx.

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 }

◆ GetName()

const char * dqi::HanConfigParMap::GetName ( ) const
virtual

Definition at line 60 of file HanConfigParMap.cxx.

62 {
63  return m_name.GetName();
64 }

◆ GetValue()

const char * dqi::HanConfigParMap::GetValue ( ) const
virtual

Definition at line 76 of file HanConfigParMap.cxx.

78 {
79  return m_value.GetName();
80 }

◆ PrintIOStream()

void dqi::HanConfigParMap::PrintIOStream ( std::ostream &  o) const
virtual

Definition at line 84 of file HanConfigParMap.cxx.

86 {
87  o << GetName() << " = " << GetValue() << "\n";
88 }

◆ SetName()

void dqi::HanConfigParMap::SetName ( const std::string &  name_)
virtual

Definition at line 52 of file HanConfigParMap.cxx.

54 {
55  m_name.SetString( name_.c_str() );
56 }

◆ SetValue()

void dqi::HanConfigParMap::SetValue ( const std::string &  value_)
virtual

Definition at line 68 of file HanConfigParMap.cxx.

70 {
71  m_value.SetString( value_.c_str() );
72 }

Member Data Documentation

◆ m_name

TObjString dqi::HanConfigParMap::m_name
protected

Definition at line 42 of file HanConfigParMap.h.

◆ m_value

TObjString dqi::HanConfigParMap::m_value
protected

Definition at line 43 of file HanConfigParMap.h.


The documentation for this class was generated from the following files:
dqi::HanConfigParMap::GetValue
virtual const char * GetValue() const
Definition: HanConfigParMap.cxx:77
ret
T ret(T t)
Definition: rootspy.cxx:260
dqi::HanConfigParMap::GetName
virtual const char * GetName() const
Definition: HanConfigParMap.cxx:61
InDetDD::other
@ other
Definition: InDetDD_Defs.h:16
dqi::HanConfigParMap::m_name
TObjString m_name
Definition: HanConfigParMap.h:42
dqi::HanConfigParMap::m_value
TObjString m_value
Definition: HanConfigParMap.h:43