Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
TMVA::OptionMap Class Reference

class to storage options for the differents methods

Definition at line 33 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)
 
virtual TClassIsA () const
 
Bool_t IsEmpty ()
 
OptionMapoperator= (TString options)
 
Bindingoperator[] (TString key)
 
void ParseOption (TString options)
 
void Print () const
 
virtual void Streamer (TBuffer &)
 
void StreamerNVirtual (TBuffer &ClassDef_StreamerNVirtual_b)
 

Static Public Member Functions

static TClassClass ()
 
static const char * Class_Name ()
 
static constexpr Version_t Class_Version ()
 
static const char * DeclFileName ()
 

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 95 of file OptionMap.h.

◆ OptionMap() [2/2]

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

Definition at line 99 of file OptionMap.h.

◆ ~OptionMap()

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

Definition at line 103 of file OptionMap.h.

Member Function Documentation

◆ Class()

static TClass * TMVA::OptionMap::Class ( )
static
Returns
TClass describing this class

◆ Class_Name()

static const char * TMVA::OptionMap::Class_Name ( )
static
Returns
Name of this class

◆ Class_Version()

static constexpr Version_t TMVA::OptionMap::Class_Version ( )
inlinestaticconstexpr
Returns
Version of this class

Definition at line 176 of file OptionMap.h.

◆ DeclFileName()

static const char * TMVA::OptionMap::DeclFileName ( )
inlinestatic
Returns
Name of the file containing the class declaration

Definition at line 176 of file OptionMap.h.

◆ GetValue() [1/2]

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

Definition at line 133 of file OptionMap.h.

◆ GetValue() [2/2]

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

Definition at line 141 of file OptionMap.h.

◆ HasKey()

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

Definition at line 107 of file OptionMap.h.

◆ IsA()

virtual TClass * TMVA::OptionMap::IsA ( ) const
inlinevirtual
Returns
TClass describing current object

Definition at line 176 of file OptionMap.h.

◆ IsEmpty()

Bool_t TMVA::OptionMap::IsEmpty ( )
inline

Definition at line 105 of file OptionMap.h.

◆ operator=()

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

Definition at line 118 of file OptionMap.h.

◆ operator[]()

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

Definition at line 112 of file OptionMap.h.

◆ ParseOption()

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

Definition at line 149 of file OptionMap.h.

◆ Print()

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

Definition at line 124 of file OptionMap.h.

◆ Streamer()

virtual void TMVA::OptionMap::Streamer ( TBuffer )
virtual

◆ StreamerNVirtual()

void TMVA::OptionMap::StreamerNVirtual ( TBuffer ClassDef_StreamerNVirtual_b)
inline

Definition at line 176 of file OptionMap.h.

Member Data Documentation

◆ fBinder

Binding TMVA::OptionMap::fBinder
protected

Definition at line 93 of file OptionMap.h.

◆ fLogger

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

Definition at line 38 of file OptionMap.h.

◆ fName

TString TMVA::OptionMap::fName
protected

Definition at line 36 of file OptionMap.h.

◆ fOptMap

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

Definition at line 37 of file OptionMap.h.

Libraries for TMVA::OptionMap:

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