X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FParametersPlugin%2FParametersPlugin_PyInterp.h;h=32b5c6d31a7fc19de72e355af8290405a7ad7722;hb=8ebc9a7d5f87057b61b174e7568e01e44571549d;hp=0e3cdee56401f7819ae60e5d31ce7a63102f2a99;hpb=653805f5d615b18e3a5a9640a86ae55ba5779d69;p=modules%2Fshaper.git diff --git a/src/ParametersPlugin/ParametersPlugin_PyInterp.h b/src/ParametersPlugin/ParametersPlugin_PyInterp.h index 0e3cdee56..32b5c6d31 100644 --- a/src/ParametersPlugin/ParametersPlugin_PyInterp.h +++ b/src/ParametersPlugin/ParametersPlugin_PyInterp.h @@ -13,6 +13,7 @@ #include #include +#include class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp { @@ -20,6 +21,8 @@ class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp ParametersPlugin_PyInterp(); virtual ~ParametersPlugin_PyInterp(); + std::list > positions(const std::string& theExpression, + const std::string& theName); std::list compile(const std::string&); void extendLocalContext(const std::list&); void clearLocalContext(); @@ -29,6 +32,7 @@ class PARAMETERSPLUGIN_EXPORT ParametersPlugin_PyInterp : public PyInterp_Interp std::string errorMessage(); // Overrides PyInterp_Interp virtual bool initContext(); + virtual void closeContext(); }; #endif /* PARAMETERSPLUGIN_PYINTERP_H_ */