Generic interface for defining configuration options of a numerical algorithm.
Definition at line 28 of file IOptions.h.
Public Member Functions | |
| IOptions () | |
| virtual | ~IOptions () |
| virtual IOptions * | Clone () const =0 |
| virtual bool | GetIntValue (const char *, int &) const |
| virtual bool | GetNamedValue (const char *, std::string &) const |
| virtual bool | GetRealValue (const char *, double &) const |
| template<typename T > | |
| bool | GetValue (const char *name, T &t) const |
| int | IValue (const char *name) const |
| std::string | NamedValue (const char *name) const |
| virtual void | Print (std::ostream &=std::cout) const |
| print options | |
| double | RValue (const char *name) const |
| virtual void | SetIntValue (const char *, int) |
| virtual void | SetNamedValue (const char *, const char *) |
| virtual void | SetRealValue (const char *, double) |
| method which need to be re-implemented by the derived classes | |
| void | SetValue (const char *name, const char *val) |
| void | SetValue (const char *name, double val) |
| generic methods for retrieving options | |
| void | SetValue (const char *name, int val) |
Private Member Functions | |
| bool | DoGetValue (const char *name, double &val) const |
| bool | DoGetValue (const char *name, int &val) const |
| bool | DoGetValue (const char *name, std::string &val) const |
#include <Math/IOptions.h>
|
inline |
Definition at line 32 of file IOptions.h.
|
inlinevirtual |
Definition at line 34 of file IOptions.h.
Implemented in ROOT::Math::GenAlgoOptions.
Definition at line 75 of file IOptions.h.
Definition at line 77 of file IOptions.h.
|
inlineprivate |
Definition at line 79 of file IOptions.h.
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 64 of file IOptions.h.
|
inlinevirtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 65 of file IOptions.h.
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 63 of file IOptions.h.
Definition at line 54 of file IOptions.h.
| int ROOT::Math::IOptions::IValue | ( | const char * | name | ) | const |
Definition at line 21 of file IOptions.cxx.
| std::string ROOT::Math::IOptions::NamedValue | ( | const char * | name | ) | const |
Definition at line 30 of file IOptions.cxx.
|
virtual |
print options
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 56 of file IOptions.cxx.
| double ROOT::Math::IOptions::RValue | ( | const char * | name | ) | const |
Definition at line 12 of file IOptions.cxx.
|
virtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 45 of file IOptions.cxx.
|
virtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 50 of file IOptions.cxx.
|
virtual |
method which need to be re-implemented by the derived classes
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 40 of file IOptions.cxx.
|
inline |
Definition at line 44 of file IOptions.h.
|
inline |
|
inline |
Definition at line 43 of file IOptions.h.