Generic interface for defining configuration options of a numerical algorithm.
Definition at line 30 of file IOptions.h.
|
| 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, double val) |
| generic methods for retrivieng options More...
|
|
void | SetValue (const char *name, int val) |
|
void | SetValue (const char *name, const char *val) |
|
|
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>
◆ IOptions()
ROOT::Math::IOptions::IOptions |
( |
| ) |
|
|
inline |
◆ ~IOptions()
virtual ROOT::Math::IOptions::~IOptions |
( |
| ) |
|
|
inlinevirtual |
◆ Clone()
virtual IOptions* ROOT::Math::IOptions::Clone |
( |
| ) |
const |
|
pure virtual |
◆ DoGetValue() [1/3]
bool ROOT::Math::IOptions::DoGetValue |
( |
const char * |
name, |
|
|
double & |
val |
|
) |
| const |
|
inlineprivate |
◆ DoGetValue() [2/3]
bool ROOT::Math::IOptions::DoGetValue |
( |
const char * |
name, |
|
|
int & |
val |
|
) |
| const |
|
inlineprivate |
◆ DoGetValue() [3/3]
bool ROOT::Math::IOptions::DoGetValue |
( |
const char * |
name, |
|
|
std::string & |
val |
|
) |
| const |
|
inlineprivate |
◆ GetIntValue()
virtual bool ROOT::Math::IOptions::GetIntValue |
( |
const char * |
, |
|
|
int & |
|
|
) |
| const |
|
inlinevirtual |
◆ GetNamedValue()
virtual bool ROOT::Math::IOptions::GetNamedValue |
( |
const char * |
, |
|
|
std::string & |
|
|
) |
| const |
|
inlinevirtual |
◆ GetRealValue()
virtual bool ROOT::Math::IOptions::GetRealValue |
( |
const char * |
, |
|
|
double & |
|
|
) |
| const |
|
inlinevirtual |
◆ GetValue()
template<typename T >
bool ROOT::Math::IOptions::GetValue |
( |
const char * |
name, |
|
|
T & |
t |
|
) |
| const |
|
inline |
◆ IValue()
int ROOT::Math::IOptions::IValue |
( |
const char * |
name | ) |
const |
|
inline |
◆ NamedValue()
std::string ROOT::Math::IOptions::NamedValue |
( |
const char * |
name | ) |
const |
|
inline |
◆ Print()
virtual void ROOT::Math::IOptions::Print |
( |
std::ostream & |
= std::cout | ) |
const |
|
inlinevirtual |
◆ RValue()
double ROOT::Math::IOptions::RValue |
( |
const char * |
name | ) |
const |
|
inline |
◆ SetIntValue()
virtual void ROOT::Math::IOptions::SetIntValue |
( |
const char * |
, |
|
|
int |
|
|
) |
| |
|
inlinevirtual |
◆ SetNamedValue()
virtual void ROOT::Math::IOptions::SetNamedValue |
( |
const char * |
, |
|
|
const char * |
|
|
) |
| |
|
inlinevirtual |
◆ SetRealValue()
virtual void ROOT::Math::IOptions::SetRealValue |
( |
const char * |
, |
|
|
double |
|
|
) |
| |
|
inlinevirtual |
◆ SetValue() [1/3]
void ROOT::Math::IOptions::SetValue |
( |
const char * |
name, |
|
|
double |
val |
|
) |
| |
|
inline |
generic methods for retrivieng options
set option value
Definition at line 44 of file IOptions.h.
◆ SetValue() [2/3]
void ROOT::Math::IOptions::SetValue |
( |
const char * |
name, |
|
|
int |
val |
|
) |
| |
|
inline |
◆ SetValue() [3/3]
void ROOT::Math::IOptions::SetValue |
( |
const char * |
name, |
|
|
const char * |
val |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: