|
Blender
V3.3
|
#include <PythonInterpreter.h>
Public Member Functions | |
| PythonInterpreter () | |
| void | setContext (bContext *C) |
| int | interpretFile (const string &filename) |
| int | interpretString (const string &str, const string &name) |
| int | interpretText (struct Text *text, const string &name) |
| void | reset () |
Public Member Functions inherited from Freestyle::Interpreter | |
| Interpreter () | |
| virtual | ~Interpreter () |
| virtual string | getLanguage () const |
Additional Inherited Members | |
Protected Attributes inherited from Freestyle::Interpreter | |
| string | _language |
Definition at line 37 of file PythonInterpreter.h.
|
inline |
Definition at line 39 of file PythonInterpreter.h.
References Freestyle::Interpreter::_language.
|
inlinevirtual |
Implements Freestyle::Interpreter.
Definition at line 51 of file PythonInterpreter.h.
References BKE_id_delete(), BKE_reportf(), BKE_reports_clear(), BKE_reports_print(), BKE_text_load(), BPY_run_filepath(), BPY_run_text(), CTX_wm_reports(), G_MAIN, and RPT_ERROR.
|
inline |
Definition at line 85 of file PythonInterpreter.h.
References BKE_reports_clear(), BKE_reports_print(), BPy_errors_to_report(), BPY_run_string_eval(), CTX_wm_reports(), NULL, RPT_ERROR, and str.
Referenced by Freestyle::BufferedStyleModule::interpret().
|
inline |
Definition at line 106 of file PythonInterpreter.h.
References BKE_reports_clear(), BKE_reports_print(), BPY_run_text(), CTX_wm_reports(), and RPT_ERROR.
Referenced by Freestyle::BlenderStyleModule::interpret().
|
inlinevirtual |
Implements Freestyle::Interpreter.
Definition at line 125 of file PythonInterpreter.h.
Definition at line 46 of file PythonInterpreter.h.
References C.
Referenced by Freestyle::Controller::setContext().