•All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Modules Pages
Python class for redirection of stderr to FreeCAD's output console window. More...
#include <PythonConsolePy.h>
Public Member Functions | |
Py::Object | flush (const Py::Tuple &) |
Py::Object | getattr (const char *name) |
Py::Object | isatty () |
OutputStderr () | |
Py::Object | repr () |
Py::Object | write (const Py::Tuple &) |
~OutputStderr () | |
Static Public Member Functions | |
static void | init_type (void) |
Python class for redirection of stderr to FreeCAD's output console window.
This allows to report all Python errors to the output window which simplifies error tracking.
OutputStderr::OutputStderr | ( | ) |
OutputStderr::~OutputStderr | ( | ) |
Py::Object OutputStderr::flush | ( | const Py::Tuple & | ) |
Referenced by init_type().
Py::Object OutputStderr::getattr | ( | const char * | name | ) |
|
static |
References flush(), isatty(), and write().
Referenced by Gui::Application::Application().
Py::Object OutputStderr::isatty | ( | ) |
Referenced by init_type().
Py::Object OutputStderr::repr | ( | ) |
Py::Object OutputStderr::write | ( | const Py::Tuple & | args | ) |
References Base::Console(), and Base::ConsoleSingleton::Error().
Referenced by init_type(), and gzip_utf8.GzipFile::seek().