Logo ROOT  
Reference Guide
TMVA::OptionMap Class Reference

class to storage options for the differents methods

Definition at line 35 of file OptionMap.h.

Classes

class  Binding
 

Public Member Functions

 OptionMap (const Char_t *options, const TString name="Option")
 
 OptionMap (const TString options="", const TString name="Option")
 
virtual ~OptionMap ()
 
template<class T >
GetValue (const TString &key)
 
template<class T >
GetValue (const TString &key) const
 
Bool_t HasKey (TString key)
 
Bool_t IsEmpty ()
 
OptionMapoperator= (TString options)
 
Bindingoperator[] (TString key)
 
void ParseOption (TString options)
 
void Print () const
 

Protected Attributes

Binding fBinder
 
TMVA::MsgLogger fLogger
 
TString fName
 
std::map< TString, TStringfOptMap
 

#include <TMVA/OptionMap.h>

Constructor & Destructor Documentation

◆ OptionMap() [1/2]

TMVA::OptionMap::OptionMap ( const TString  options = "",
const TString  name = "Option" 
)
inline

Definition at line 97 of file OptionMap.h.

◆ OptionMap() [2/2]

TMVA::OptionMap::OptionMap ( const Char_t options,
const TString  name = "Option" 
)
inline

Definition at line 101 of file OptionMap.h.

◆ ~OptionMap()

virtual TMVA::OptionMap::~OptionMap ( )
inlinevirtual

Definition at line 105 of file OptionMap.h.

Member Function Documentation

◆ GetValue() [1/2]

template<class T >
T TMVA::OptionMap::GetValue ( const TString key)
inline

Definition at line 135 of file OptionMap.h.

◆ GetValue() [2/2]

template<class T >
T TMVA::OptionMap::GetValue ( const TString key) const
inline

Definition at line 143 of file OptionMap.h.

◆ HasKey()

Bool_t TMVA::OptionMap::HasKey ( TString  key)
inline

Definition at line 109 of file OptionMap.h.

◆ IsEmpty()

Bool_t TMVA::OptionMap::IsEmpty ( )
inline

Definition at line 107 of file OptionMap.h.

◆ operator=()

OptionMap & TMVA::OptionMap::operator= ( TString  options)
inline

Definition at line 120 of file OptionMap.h.

◆ operator[]()

Binding & TMVA::OptionMap::operator[] ( TString  key)
inline

Definition at line 114 of file OptionMap.h.

◆ ParseOption()

void TMVA::OptionMap::ParseOption ( TString  options)
inline

Definition at line 151 of file OptionMap.h.

◆ Print()

void TMVA::OptionMap::Print ( ) const
inline

Definition at line 126 of file OptionMap.h.

Member Data Documentation

◆ fBinder

Binding TMVA::OptionMap::fBinder
protected

Definition at line 95 of file OptionMap.h.

◆ fLogger

TMVA::MsgLogger TMVA::OptionMap::fLogger
protected

Definition at line 40 of file OptionMap.h.

◆ fName

TString TMVA::OptionMap::fName
protected

Definition at line 38 of file OptionMap.h.

◆ fOptMap

std::map<TString,TString> TMVA::OptionMap::fOptMap
protected

Definition at line 39 of file OptionMap.h.

Libraries for TMVA::OptionMap:
[legend]

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