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

#include <Options.h>

Inheritance diagram for Hal::OptionConverter:

Public Member Functions

Bool_t GetOptionInt (Int_t &val, TString option) const
 
Bool_t GetString (TString &val, Int_t value) const
 
void RegisterOption (TString option)
 
void RegisterOption (TString option, Int_t no)
 

Detailed Description

convert ooption to int

Definition at line 53 of file Options.h.

Constructor & Destructor Documentation

◆ OptionConverter()

Hal::OptionConverter::OptionConverter ( )

Definition at line 14 of file Options.cxx.

◆ ~OptionConverter()

Hal::OptionConverter::~OptionConverter ( )
virtual

Definition at line 55 of file Options.cxx.

Member Function Documentation

◆ GetOptionInt()

Bool_t Hal::OptionConverter::GetOptionInt ( Int_t & val,
TString option ) const

convert option to int

Parameters
valinteger for option
optionoption
Returns
true if object found

Definition at line 16 of file Options.cxx.

◆ GetString()

Bool_t Hal::OptionConverter::GetString ( TString & val,
Int_t value ) const

find string for given int

Parameters
valstring
valueinteger
Returns
true if found

Definition at line 46 of file Options.cxx.

◆ RegisterOption() [1/2]

void Hal::OptionConverter::RegisterOption ( TString option)

register option

Parameters
optionoption

Definition at line 36 of file Options.cxx.

◆ RegisterOption() [2/2]

void Hal::OptionConverter::RegisterOption ( TString option,
Int_t no )

register option with given int

Parameters
optionoption
nonumber

Definition at line 41 of file Options.cxx.


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