Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::ParameterBool Class Reference

#include <Parameter.h>

Inheritance diagram for Hal::ParameterBool:
Hal::Parameter Hal::Object

Public Member Functions

 ParameterBool (TString name, Bool_t value, Char_t merge_mode='=')
 
void Add (const Object *val)
 
void SetValue (Bool_t value)
 
Bool_t GetValue () const
 
virtual TString HTMLExtract (Int_t counter=0, TString dir=" ") const
 
- Public Member Functions inherited from Hal::Parameter
 Parameter ()
 
 Parameter (TString name, Char_t merge_mode='=')
 
void SetMergeMode (Char_t mergemode)
 
Bool_t CheckName (const TObject *object)
 
Long64_t Merge (TCollection *collection)
 
void Browse (TBrowser *b)
 
- Public Member Functions inherited from Hal::Object
 Object ()
 
virtual TString GetExtractType () const
 
virtual void HTMLExtractIntoTable (Int_t, HtmlTable &, TString="", TString="") const
 
virtual Bool_t CanBeTableElement () const
 

Additional Inherited Members

- Protected Types inherited from Hal::Parameter
enum class  EParameterMerge {
  kPlus , kMultiply , kEqual , kMaximum ,
  kMinimum , kFirst , kLast , kAverage
}
 
- Protected Attributes inherited from Hal::Parameter
EParameterMerge fMergeMode
 

Detailed Description

parameter to store Bool_t

Definition at line 300 of file Parameter.h.

Constructor & Destructor Documentation

◆ ParameterBool() [1/2]

Hal::ParameterBool::ParameterBool ( )

Definition at line 406 of file Parameter.cxx.

◆ ParameterBool() [2/2]

Hal::ParameterBool::ParameterBool ( TString name,
Bool_t value,
Char_t merge_mode = '=' )

main constructor

Parameters
namename of parameter
valuevalue of parameter
merge_modemode of merging

Definition at line 408 of file Parameter.cxx.

◆ ~ParameterBool()

Hal::ParameterBool::~ParameterBool ( )
virtual

Definition at line 441 of file Parameter.cxx.

Member Function Documentation

◆ Add()

void Hal::ParameterBool::Add ( const Object * pack)
virtual

add object of the same class to this

Parameters
packadded object

Reimplemented from Hal::Object.

Definition at line 410 of file Parameter.cxx.

◆ GetValue()

Bool_t Hal::ParameterBool::GetValue ( ) const
inline
Returns
value of parameter

Definition at line 322 of file Parameter.h.

◆ HTMLExtract()

TString Hal::ParameterBool::HTMLExtract ( Int_t = 0,
TString = " " ) const
virtual

extract this into HTML by return formated value of parameter

Parameters
counter- not used
dir- not used
Returns
formated value

Reimplemented from Hal::Parameter.

Definition at line 443 of file Parameter.cxx.

◆ SetValue()

void Hal::ParameterBool::SetValue ( Bool_t value)
inline

set value

Parameters
valuenew value

Definition at line 317 of file Parameter.h.


The documentation for this class was generated from the following files: