11#ifndef ROOT_TMVA_OptionMap
12#define ROOT_TMVA_OptionMap
66 template<
class T>
operator T()
79 std::stringstream fStringStream;
83 str=fStringStream.str();
85 fStringStream<<str.
Data();
109 return fOptMap.count( key )==1;
129 Log<<kINFO<<item.first.Data()<<
": "<<item.second.Data()<<
Endl;
144 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)