11#ifndef ROOT_TMVA_OptionMap
12#define ROOT_TMVA_OptionMap
66 template<
class T>
operator T()
109 return fOptMap.count( key )==1;
129 Log<<kINFO<<item.first.Data()<<
": "<<item.second.Data()<<
Endl;
144 std::stringstream
oss;
157 if(
objstr->GetString().Contains(
"="))
159 auto pair=
objstr->String().Tokenize(
"=");
165 if(
objstr->GetString().BeginsWith(
"!"))
167 objstr->String().ReplaceAll(
"!",
"");
#define ClassDef(name, id)
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void input
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void char Point_t Rectangle_t WindowAttributes_t Float_t Float_t Float_t Int_t Int_t UInt_t UInt_t Rectangle_t result
Option_t Option_t TPoint TPoint const char GetTextMagnitude GetFillStyle GetLineColor GetLineWidth GetMarkerStyle GetTextAlign GetTextColor GetTextSize void value
ostringstream derivative to redirect and format output
Binding(const Binding &obj)
std::map< TString, TString > & fInternalMap
Binding(std::map< TString, TString > &fmap, TString key)
Binding & operator=(const T &value)
void ParseValue(TString &str, T &value, Bool_t input=kTRUE)
Binding & operator=(const Binding &obj)
class to storage options for the differents methods
OptionMap(const Char_t *options, const TString name="Option")
T GetValue(const TString &key) const
OptionMap(const TString options="", const TString name="Option")
std::map< TString, TString > fOptMap
OptionMap & operator=(TString options)
Binding & operator[](TString key)
T GetValue(const TString &key)
Bool_t HasKey(TString key)
void ParseOption(TString options)
Collectable string class.
const TString & GetString() const
TString & ReplaceAll(const TString &s1, const TString &s2)
TObjArray * Tokenize(const TString &delim) const
This function is used to isolate sequential tokens in a TString.
create variable transformations
MsgLogger & Endl(MsgLogger &ml)