#include <PythonExecuter.h>
Static Public Member Functions | |
static CompilationResult | compile (string code) |
static void | execute (string code) |
static void | finalize () |
static void | initialize () |
static void | initModule (string name, PyMethodDef *methodDef) |
Private Member Functions | |
PythonExecuter () | |
Static Private Attributes | |
static set< string > | _initializedModules |
static PyThreadState * | _mainState = NULL |
Definition at line 25 of file PythonExecuter.h.
PythonExecuter::PythonExecuter | ( | ) | [inline, private] |
Definition at line 43 of file PythonExecuter.h.
CompilationResult PythonExecuter::compile | ( | string | code | ) | [static] |
Definition at line 65 of file PythonExecuter.cpp.
void PythonExecuter::execute | ( | string | code | ) | [static] |
Definition at line 55 of file PythonExecuter.cpp.
void PythonExecuter::finalize | ( | ) | [static] |
Definition at line 27 of file PythonExecuter.cpp.
void PythonExecuter::initialize | ( | ) | [static] |
Definition at line 13 of file PythonExecuter.cpp.
void PythonExecuter::initModule | ( | string | name, |
PyMethodDef * | methodDef | ||
) | [static] |
Definition at line 36 of file PythonExecuter.cpp.
set< string > PythonExecuter::_initializedModules [static, private] |
Definition at line 41 of file PythonExecuter.h.
PyThreadState * PythonExecuter::_mainState = NULL [static, private] |
Definition at line 40 of file PythonExecuter.h.