20 #ifndef INITIALIZATIONPLUGIN_PYINTERP_H_
21 #define INITIALIZATIONPLUGIN_PYINTERP_H_
23 #include <PyInterp_Interp.h>
24 #include <InitializationPlugin.h>
42 std::list<std::pair<int, int> > positions(
const std::wstring& theExpression,
43 const std::wstring& theName);
45 std::list<std::wstring> compile(
const std::wstring& theExpression);
47 void extendLocalContext(
const std::list<std::wstring>& theParameters);
49 void clearLocalContext();
51 double evaluate(
const std::wstring& theExpression, std::string& theError);
54 bool runString(std::string theString);
58 std::string errorMessage();
60 virtual bool initContext();
62 virtual void closeContext();
Helper class for using Python interpreter.
Definition: InitializationPlugin_PyInterp.h:36