class implementing generic options for a numerical algorithm Just store the options in a map of string-value pairs
Definition at line 32 of file GenAlgoOptions.h.
Public Member Functions | |
| GenAlgoOptions () | |
| ~GenAlgoOptions () override | |
| IOptions * | Clone () const override | 
| generic methods for retrieving options   | |
| std::vector< std::string > | GetAllIntKeys () | 
| std::vector< std::string > | GetAllNamedKeys () | 
| std::vector< std::string > | GetAllRealKeys () | 
| bool | GetIntValue (const char *name, int &val) const override | 
| bool | GetNamedValue (const char *name, std::string &val) const override | 
| bool | GetRealValue (const char *name, double &val) const override | 
| void | Print (std::ostream &os=std::cout) const override | 
| print options   | |
| void | SetIntValue (const char *name, int val) override | 
| void | SetNamedValue (const char *name, const char *val) override | 
| void | SetRealValue (const char *name, double val) override | 
| Method that needs to be re-implemented by the derived classes.   | |
  Public Member Functions inherited from ROOT::Math::IOptions | |
| IOptions () | |
| virtual | ~IOptions () | 
| template<typename T > | |
| bool | GetValue (const char *name, T &t) const | 
| int | IValue (const char *name) const | 
| std::string | NamedValue (const char *name) const | 
| double | RValue (const char *name) const | 
| 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) | 
Static Public Member Functions | |
| static IOptions & | Default (const char *algoname) | 
| static IOptions * | FindDefault (const char *algoname) | 
| static void | PrintAllDefault (std::ostream &os=std::cout) | 
| print all the default options   | |
Static Private Member Functions | |
| template<class M > | |
| static const M::mapped_type * | FindValue (const std::string &name, const M &opts) | 
| template<class M > | |
| static void | InsertValue (const std::string &name, M &opts, const typename M::mapped_type &value) | 
| template<class M > | |
| static void | Print (const M &opts, std::ostream &os) | 
Private Attributes | |
| std::map< std::string, int > | fIntOpts | 
| map of the integer options   | |
| std::map< std::string, std::string > | fNamOpts | 
| map of the named options   | |
| std::map< std::string, double > | fRealOpts | 
| map of the real options   | |
#include <Math/GenAlgoOptions.h>
      
  | 
  inline | 
Definition at line 36 of file GenAlgoOptions.h.
      
  | 
  inlineoverride | 
Definition at line 38 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
generic methods for retrieving options
Implements ROOT::Math::IOptions.
Definition at line 47 of file GenAlgoOptions.h.
Definition at line 55 of file GenAlgoOptions.cxx.
Definition at line 48 of file GenAlgoOptions.cxx.
      
  | 
  inlinestaticprivate | 
Definition at line 142 of file GenAlgoOptions.h.
      
  | 
  inline | 
Definition at line 104 of file GenAlgoOptions.h.
      
  | 
  inline | 
Definition at line 88 of file GenAlgoOptions.h.
      
  | 
  inline | 
Definition at line 96 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from ROOT::Math::IOptions.
Definition at line 61 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from ROOT::Math::IOptions.
Definition at line 68 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from ROOT::Math::IOptions.
Definition at line 54 of file GenAlgoOptions.h.
      
  | 
  inlinestaticprivate | 
Definition at line 152 of file GenAlgoOptions.h.
      
  | 
  inlinestaticprivate | 
Definition at line 164 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
print options
Reimplemented from ROOT::Math::IOptions.
Definition at line 114 of file GenAlgoOptions.h.
      
  | 
  static | 
print all the default options
Definition at line 67 of file GenAlgoOptions.cxx.
Reimplemented from ROOT::Math::IOptions.
Definition at line 80 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
Reimplemented from ROOT::Math::IOptions.
Definition at line 84 of file GenAlgoOptions.h.
      
  | 
  inlineoverridevirtual | 
Method that needs to be re-implemented by the derived classes.
Reimplemented from ROOT::Math::IOptions.
Definition at line 76 of file GenAlgoOptions.h.
      
  | 
  private | 
map of the integer options
Definition at line 170 of file GenAlgoOptions.h.
      
  | 
  private | 
map of the named options
Definition at line 172 of file GenAlgoOptions.h.
      
  | 
  private | 
map of the real options
Definition at line 171 of file GenAlgoOptions.h.