2 * ParametersPlugin_PyInterp.h
4 * Created on: Apr 2, 2015
8 #ifndef PARAMETERSPLUGIN_PYINTERP_H_
9 #define PARAMETERSPLUGIN_PYINTERP_H_
11 #include <PyInterp_Interp.h>
12 #include <ParametersPlugin.h>
17 class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp
20 ParametersPlugin_PyInterp();
21 virtual ~ParametersPlugin_PyInterp();
23 std::list<std::string> compile(const std::string&);
24 void extendLocalContext(const std::list<std::string>&);
25 void clearLocalContext();
26 double evaluate(const std::string&, std::string&);
29 std::string errorMessage();
30 // Overrides PyInterp_Interp
31 virtual bool initContext();
32 virtual void closeContext();
35 #endif /* PARAMETERSPLUGIN_PYINTERP_H_ */