RAIDA  1.9.0
IFunctionFactoryROOT.h
1 // -*- C++ -*-
2 #ifndef AIDA_IFUNCTIONFACTORYROOT_H
3 #define AIDA_IFUNCTIONFACTORYROOT_H 1
4 
5 #include <AIDA/IFunctionFactory.h>
6 #include <string>
7 
8 namespace AIDA {
9 
10 class IFunction;
11 class IFunctionCatalog;
12 
24 
25 public:
27  virtual ~IFunctionFactoryROOT() { /* nop */; }
28 
43  virtual IFunction * createFunctionByName(const std::string & path,
44  const std::string & model) ;
45 
62  virtual IFunction * createFunctionFromScript(const std::string & name,
63  int dim,
64  const std::string & valexpr,
65  const std::string & parameters,
66  const std::string & description,
67  const std::string & gradexpr = "") ;
68 
79  virtual IFunction * cloneFunction(const std::string & path, IFunction & f) ;
80 
84  virtual IFunctionCatalog * catalog() ;
85 
88  /*# IFunctionCatalog lnkIFunctionCatalog; */
89 }; // class
90 } // namespace AIDA
91 #endif /* ifndef AIDA_IFUNCTIONFACTORYROOT_H */
Principal user-level function interface.
Definition: IFunction.h:35
virtual IFunction * cloneFunction(const std::string &path, IFunction &f)
Create a clone of an existing function.
Definition: IFunctionFactoryROOT.cc:30
Definition: IFunctionFactoryROOT.h:23
Definition: IFunctionCatalog.h:30
virtual ~IFunctionFactoryROOT()
Destructor.
Definition: IFunctionFactoryROOT.h:27
Function factory.
Definition: IFunctionFactory.h:31
virtual IFunctionCatalog * catalog()
get access to the function catalog
Definition: IFunctionFactoryROOT.cc:37
virtual IFunction * createFunctionByName(const std::string &path, const std::string &model)
Create function from a model registered in the catalog.
Definition: IFunctionFactoryROOT.cc:10
virtual IFunction * createFunctionFromScript(const std::string &name, int dim, const std::string &valexpr, const std::string &parameters, const std::string &description, const std::string &gradexpr="")
Create function from script.
Definition: IFunctionFactoryROOT.cc:18