11#ifndef ROOT_Math_IOptions
12#define ROOT_Math_IOptions
63 virtual bool GetRealValue(
const char *,
double &)
const {
return false; }
64 virtual bool GetIntValue(
const char *,
int &)
const {
return false; }
65 virtual bool GetNamedValue(
const char *, std::string &)
const {
return false; }
71 virtual void Print(std::ostream & = std::cout )
const;
Generic interface for defining configuration options of a numerical algorithm.
virtual bool GetIntValue(const char *, int &) const
virtual void SetIntValue(const char *, int)
void SetValue(const char *name, int val)
double RValue(const char *name) const
std::string NamedValue(const char *name) const
virtual void SetRealValue(const char *, double)
method which need to be re-implemented by the derived classes
void SetValue(const char *name, double val)
generic methods for retrieving options
bool DoGetValue(const char *name, std::string &val) const
int IValue(const char *name) const
virtual IOptions * Clone() const =0
bool GetValue(const char *name, T &t) const
virtual bool GetRealValue(const char *, double &) const
void SetValue(const char *name, const char *val)
bool DoGetValue(const char *name, double &val) const
virtual void SetNamedValue(const char *, const char *)
virtual bool GetNamedValue(const char *, std::string &) const
virtual void Print(std::ostream &=std::cout) const
print options
bool DoGetValue(const char *name, int &val) const
Namespace for new Math classes and functions.
tbb::task_arena is an alias of tbb::interface7::task_arena, which doesn't allow to forward declare tb...