Salome HOME
Fix for import/export features
[modules/shaper.git] / src / ParametersPlugin / ParametersPlugin_PyInterp.h
index 6bb2a210d46ccd8e5f217716854a39da7bfc8005..0a631f6e22f42ce3e30251ad9869bc29efd3f12a 100644 (file)
@@ -22,13 +22,14 @@ class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp
 
   std::list<std::string> compile(const std::string&);
   void extendLocalContext(const std::list<std::string>&);
+  void clearLocalContext();
   double evaluate(const std::string&, std::string&);
 
  protected:
-  std::list<std::string> _compile(const std::string&);
-  void _extendLocalContext(const std::list<std::string>&);
-  double _evaluate(const std::string&, std::string&);
   std::string errorMessage();
+  // Overrides PyInterp_Interp
+  virtual bool initContext();
+  virtual void closeContext();
 };
 
 #endif /* PARAMETERSPLUGIN_PYINTERP_H_ */