11#ifndef ROOT_Math_GenAlgoOptions 
   12#define ROOT_Math_GenAlgoOptions 
   56      if (!
pval) 
return false;
 
 
   63      if (!
pval) 
return false;
 
 
   70      if (!
pval) 
return false;
 
 
   89      std::vector<std::string> names;
 
   93         names.push_back(
e.first);
 
 
   97      std::vector<std::string> names;
 
  101         names.push_back(
e.first);
 
 
  105      std::vector<std::string> names;
 
  109         names.push_back(
e.first);
 
 
  114   void Print(std::ostream & os = std::cout )
 const override {
 
 
  143      typename M::const_iterator pos;
 
  148      return  &((*pos).second);
 
 
  153      typename M::iterator pos;
 
 
  166      for (
typename M::const_iterator pos = 
opts.
begin(); pos != 
opts.
end(); ++pos)
 
  167         os << std::setw(25) << pos->first << 
" : " << std::setw(15) << pos->second << std::endl;
 
 
 
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 value
 
class implementing generic options for a numerical algorithm Just store the options in a map of strin...
 
void SetNamedValue(const char *name, const char *val) override
 
bool GetRealValue(const char *name, double &val) const override
 
std::map< std::string, double > fRealOpts
map of the real options
 
std::vector< std::string > GetAllRealKeys()
 
void SetIntValue(const char *name, int val) override
 
static void Print(const M &opts, std::ostream &os)
 
void SetRealValue(const char *name, double val) override
Method that needs to be re-implemented by the derived classes.
 
std::map< std::string, int > fIntOpts
map of the integer options
 
static void PrintAllDefault(std::ostream &os=std::cout)
print all the default options
 
bool GetIntValue(const char *name, int &val) const override
 
static void InsertValue(const std::string &name, M &opts, const typename M::mapped_type &value)
 
~GenAlgoOptions() override
 
IOptions * Clone() const override
generic methods for retrieving options
 
void Print(std::ostream &os=std::cout) const override
print options
 
static IOptions & Default(const char *algoname)
 
static const M::mapped_type * FindValue(const std::string &name, const M &opts)
 
static IOptions * FindDefault(const char *algoname)
 
std::vector< std::string > GetAllIntKeys()
 
bool GetNamedValue(const char *name, std::string &val) const override
 
std::map< std::string, std::string > fNamOpts
map of the named options
 
std::vector< std::string > GetAllNamedKeys()
 
Generic interface for defining configuration options of a numerical algorithm.
 
const_iterator begin() const
 
const_iterator end() const
 
Namespace for new Math classes and functions.