Heavy ion Analysis Libriares
Loading...
Searching...
No Matches
Hal::OptionArray Class Reference
Inheritance diagram for Hal::OptionArray:

Public Member Functions

void RegisterLabel (TString label)
 
Bool_t Add (TString option)
 
TString GetByLabel (TString label, Int_t no=0) const
 
Int_t GetByLabelNo (TString label) const
 
void Print (Option_t *="") const
 

Detailed Description

Definition at line 20 of file Options.h.

Constructor & Destructor Documentation

◆ OptionArray()

Hal::OptionArray::OptionArray ( )

Definition at line 59 of file Options.cxx.

◆ ~OptionArray()

Hal::OptionArray::~OptionArray ( )
virtual

Definition at line 134 of file Options.cxx.

Member Function Documentation

◆ Add()

Bool_t Hal::OptionArray::Add ( TString option)

add option to array

Parameters
option- option to add

Definition at line 78 of file Options.cxx.

◆ GetByLabel()

TString Hal::OptionArray::GetByLabel ( TString label,
Int_t no = 0 ) const

get label for give option e.g for data:format - return data

Parameters
label- label for given option
no- number of option with given label

Definition at line 100 of file Options.cxx.

◆ GetByLabelNo()

Int_t Hal::OptionArray::GetByLabelNo ( TString label) const

get label by number e.g if registered labes "A" and "B" GetByLabelNo("B") return 1

Parameters
label- label

Definition at line 115 of file Options.cxx.

◆ Print()

void Hal::OptionArray::Print ( Option_t * = "") const

default destructor

Definition at line 124 of file Options.cxx.

◆ RegisterLabel()

void Hal::OptionArray::RegisterLabel ( TString label)

register label

Parameters
label- label name

Definition at line 61 of file Options.cxx.


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