ROOT  6.06/08
Reference Guide
Public Member Functions | Private Member Functions | List of all members
ROOT::Math::IOptions Class Referenceabstract

Generic interface for defining configuration options of a numerical algorithm.

Definition at line 32 of file IOptions.h.

Public Member Functions

 IOptions ()
 
virtual ~IOptions ()
 
virtual IOptionsClone () const =0
 
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)
 
double RValue (const char *name) const
 
int IValue (const char *name) const
 
std::string NamedValue (const char *name) const
 
template<typename T >
bool GetValue (const char *name, T &t) const
 
virtual bool GetRealValue (const char *, double &) const
 
virtual bool GetIntValue (const char *, int &) const
 
virtual bool GetNamedValue (const char *, std::string &) const
 
virtual void SetRealValue (const char *, double)
 method wich need to be re-implemented by the derived classes More...
 
virtual void SetIntValue (const char *, int)
 
virtual void SetNamedValue (const char *, const char *)
 
virtual void Print (std::ostream &=std::cout) const
 print options More...
 

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>

+ Inheritance diagram for ROOT::Math::IOptions:

Constructor & Destructor Documentation

§ IOptions()

ROOT::Math::IOptions::IOptions ( )
inline

Definition at line 36 of file IOptions.h.

§ ~IOptions()

virtual ROOT::Math::IOptions::~IOptions ( )
inlinevirtual

Definition at line 38 of file IOptions.h.

Member Function Documentation

§ 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

Definition at line 105 of file IOptions.h.

Referenced by GetValue().

§ DoGetValue() [2/3]

bool ROOT::Math::IOptions::DoGetValue ( const char *  name,
int &  val 
) const
inlineprivate

Definition at line 107 of file IOptions.h.

§ DoGetValue() [3/3]

bool ROOT::Math::IOptions::DoGetValue ( const char *  name,
std::string &  val 
) const
inlineprivate

Definition at line 109 of file IOptions.h.

§ 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

Reimplemented in ROOT::Math::GenAlgoOptions.

Definition at line 89 of file IOptions.h.

Referenced by DoGetValue(), and NamedValue().

§ 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

Definition at line 58 of file IOptions.h.

§ NamedValue()

std::string ROOT::Math::IOptions::NamedValue ( const char *  name) const
inline

Definition at line 65 of file IOptions.h.

§ Print()

virtual void ROOT::Math::IOptions::Print ( std::ostream &  = std::cout) const
inlinevirtual

§ RValue()

double ROOT::Math::IOptions::RValue ( const char *  name) const
inline

Definition at line 51 of file IOptions.h.

§ SetIntValue()

virtual void ROOT::Math::IOptions::SetIntValue ( const char *  ,
int   
)
inlinevirtual

Reimplemented in ROOT::Math::GenAlgoOptions.

Definition at line 94 of file IOptions.h.

Referenced by SetValue().

§ SetNamedValue()

virtual void ROOT::Math::IOptions::SetNamedValue ( const char *  ,
const char *   
)
inlinevirtual

Reimplemented in ROOT::Math::GenAlgoOptions.

Definition at line 96 of file IOptions.h.

Referenced by SetValue().

§ SetRealValue()

virtual void ROOT::Math::IOptions::SetRealValue ( const char *  ,
double   
)
inlinevirtual

method wich need to be re-implemented by the derived classes

Reimplemented in ROOT::Math::GenAlgoOptions.

Definition at line 92 of file IOptions.h.

Referenced by SetValue().

§ 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 46 of file IOptions.h.

Referenced by ROOT::Math::GeneticMinimizer::GetGeneticOptions().

§ SetValue() [2/3]

void ROOT::Math::IOptions::SetValue ( const char *  name,
int  val 
)
inline

Definition at line 47 of file IOptions.h.

§ SetValue() [3/3]

void ROOT::Math::IOptions::SetValue ( const char *  name,
const char *  val 
)
inline

Definition at line 48 of file IOptions.h.


The documentation for this class was generated from the following file: