BornAgain
1.19.79
Open-source research software to simulate and fit neutron and x-ray reflectometry and grazing-incidence small-angle scattering
|
Generic interface for defining configuration options of a numerical algorithm
Definition at line 30 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 More... | |
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 wich need to be re-implemented by the derived classes More... | |
void | SetValue (const char *name, const char *val) |
void | SetValue (const char *name, double val) |
set option value More... | |
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 |
|
inline |
Definition at line 34 of file IOptions.h.
|
inlinevirtual |
Definition at line 36 of file IOptions.h.
|
pure virtual |
Implemented in ROOT::Math::GenAlgoOptions.
|
inlineprivate |
Definition at line 103 of file IOptions.h.
References GetRealValue().
Referenced by GetValue().
|
inlineprivate |
Definition at line 105 of file IOptions.h.
References GetIntValue().
|
inlineprivate |
Definition at line 107 of file IOptions.h.
References GetNamedValue().
|
inlinevirtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 85 of file IOptions.h.
Referenced by DoGetValue(), and IValue().
|
inlinevirtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 87 of file IOptions.h.
Referenced by DoGetValue(), and NamedValue().
|
inlinevirtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 83 of file IOptions.h.
Referenced by DoGetValue(), and RValue().
|
inline |
Definition at line 73 of file IOptions.h.
References DoGetValue().
|
inline |
Definition at line 56 of file IOptions.h.
References GetIntValue(), and MATH_ERROR_MSGVAL.
|
inline |
Definition at line 63 of file IOptions.h.
References GetNamedValue(), and MATH_ERROR_MSGVAL.
|
inlinevirtual |
print options
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 98 of file IOptions.h.
References MATH_INFO_MSG.
|
inline |
Definition at line 49 of file IOptions.h.
References GetRealValue(), and MATH_ERROR_MSGVAL.
|
inlinevirtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 92 of file IOptions.h.
References MATH_ERROR_MSG.
Referenced by SetValue().
|
inlinevirtual |
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 94 of file IOptions.h.
References MATH_ERROR_MSG.
Referenced by SetValue().
|
inlinevirtual |
method wich need to be re-implemented by the derived classes
Reimplemented in ROOT::Math::GenAlgoOptions.
Definition at line 90 of file IOptions.h.
References MATH_ERROR_MSG.
Referenced by SetValue().
|
inline |
Definition at line 46 of file IOptions.h.
References SetNamedValue().
|
inline |
set option value
generic methods for retrivieng options
Definition at line 44 of file IOptions.h.
References SetRealValue().
|
inline |
Definition at line 45 of file IOptions.h.
References SetIntValue().