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

#include <Parameter.h>

Inheritance diagram for Hal::ParameterString:
Hal::Parameter Hal::Object

Public Member Functions

 ParameterString (TString name, TString value, Char_t merge_mode='=')
 
void Add (const Object *val)
 
void SetValue (TString value)
 
TString 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 TString

Definition at line 180 of file Parameter.h.

Constructor & Destructor Documentation

◆ ParameterString() [1/2]

Hal::ParameterString::ParameterString ( )

Definition at line 173 of file Parameter.cxx.

◆ ParameterString() [2/2]

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

main constructor

Parameters
namename of parameter
valuevalue of parameter
merge_modemode of merging

Definition at line 175 of file Parameter.cxx.

◆ ~ParameterString()

Hal::ParameterString::~ParameterString ( )
virtual

Definition at line 215 of file Parameter.cxx.

Member Function Documentation

◆ Add()

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

add object of the same class to this

Parameters
packadded object

Reimplemented from Hal::Object.

Definition at line 179 of file Parameter.cxx.

◆ GetValue()

TString Hal::ParameterString::GetValue ( ) const
inline
Returns
value of parameter

Definition at line 202 of file Parameter.h.

◆ HTMLExtract()

TString Hal::ParameterString::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 213 of file Parameter.cxx.

◆ SetValue()

void Hal::ParameterString::SetValue ( TString value)
inline

set value

Parameters
valuenew value

Definition at line 197 of file Parameter.h.


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