27#ifndef ROOT_TMVA_Configurable 
   28#define ROOT_TMVA_Configurable 
  161   fListOfOptions.Add(o);
 
  162   fLastDeclaredOption = o;
 
 
  172   if(
oc) 
oc->AddPreDefVal(val);
 
 
  186            oc->AddPreDefVal(val);
 
  190            Log() << kFATAL << 
"Option \"" << 
optname 
  191                  << 
"\" was found, but somehow I could not convert the pointer properly.. please check the syntax of your option declaration" << 
Endl;
 
  197   Log() << kFATAL << 
"Option \"" << 
optname 
  198         << 
"\" is not declared, hence cannot add predefined value, please check the syntax of your option declaration" << 
Endl;
 
 
  210      Log() << kFATAL << 
"Option \"" << 
name 
  211            << 
"\" not declared, please check the syntax of your option string" << 
Endl;
 
 
size_t size(const MatrixT &matrix)
retrieve the size of a square matrix
 
#define ClassDef(name, id)
 
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
 
void Add(TObject *obj) override
 
void SetConfigDescription(const char *d)
 
const TString & GetReferenceFile() const
 
void ReadOptionsFromXML(void *node)
 
Bool_t LooseOptionCheckingEnabled() const
 
OptionBase * DeclareOptionRef(T &ref, const TString &name, const TString &desc="")
 
TString fReferenceFile
reference file for options writing
 
void AddPreDefVal(const T &)
 
OptionBase * fLastDeclaredOption
! last declared option
 
void AssignOpt(const TString &name, T &valAssign) const
 
void SetConfigName(const char *n)
 
void ResetSetFlag()
resets the IsSet flag for all declare options to be called before options are read from stream
 
const char * GetConfigName() const
 
const char * GetConfigDescription() const
 
virtual ~Configurable()
default destructor
 
OptionBase * DeclareOptionRef(T *&ref, Int_t size, const TString &name, const TString &desc="")
 
void WriteOptionsReferenceToFile()
write complete options to output stream
 
void WriteOptionsToStream(std::ostream &o, const TString &prefix) const
write options to output stream (e.g. in writing the MVA weight files
 
Configurable(const TString &theOption="")
constructor
 
TString fConfigDescription
description of this configurable
 
TList fListOfOptions
option list
 
virtual void ParseOptions()
options parser
 
const TString & GetOptions() const
 
MsgLogger * fLogger
! message logger
 
TString fOptions
options string
 
void SetMsgType(EMsgType t)
 
void PrintOptions() const
prints out the options set in the options string and the defaults
 
void CheckForUnusedOptions() const
checks for unused options in option string
 
void SplitOptions(const TString &theOpt, TList &loo) const
splits the option string at ':' and fills the list 'loo' with the primitive strings
 
Bool_t fLooseOptionCheckingEnabled
checker for option string
 
void ReadOptionsFromStream(std::istream &istr)
read option back from the weight file
 
void EnableLooseOptions(Bool_t b=kTRUE)
 
void AddOptionsXMLTo(void *parent) const
write options to XML file
 
void SetOptions(const TString &s)
 
ostringstream derivative to redirect and format output
 
void SetMinType(EMsgType minType)
 
Class for TMVA-option handling.
 
The TNamed class is the base class for all named ROOT classes.
 
const char * GetName() const override
Returns name of object.
 
virtual void SetName(const char *name)
Set the name of the TNamed.
 
Mother of all ROOT objects.
 
virtual TObject * FindObject(const char *name) const
Must be redefined in derived classes.
 
create variable transformations
 
MsgLogger & Endl(MsgLogger &ml)