11#ifndef ROOT_TMVA_OptionMap
12#define ROOT_TMVA_OptionMap
68 template<
class T>
operator T()
81 std::stringstream fStringStream;
85 str=fStringStream.str();
87 fStringStream<<str.
Data();
111 return fOptMap.count( key )==1;
131 Log<<kINFO<<item.first.Data()<<
": "<<item.second.Data()<<
Endl;
146 std::stringstream oss;
#define ClassDef(name, id)
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
const char * Data() 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.
Bool_t BeginsWith(const char *s, ECaseCompare cmp=kExact) const
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const
create variable transformations
MsgLogger & Endl(MsgLogger &ml)