•All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Friends Modules Pages
Python class for redirection of stdout 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 () |
OutputStdout () | |
Py::Object | repr () |
Py::Object | write (const Py::Tuple &) |
~OutputStdout () | |
Static Public Member Functions | |
static void | init_type (void) |
Python class for redirection of stdout to FreeCAD's output console window.
This allows to report all Python output to the output window which simplifies debugging scripts.
OutputStdout::OutputStdout | ( | ) |
OutputStdout::~OutputStdout | ( | ) |
Py::Object OutputStdout::flush | ( | const Py::Tuple & | ) |
Referenced by init_type().
Py::Object OutputStdout::getattr | ( | const char * | name | ) |
|
static |
References flush(), isatty(), and write().
Referenced by Gui::Application::Application().
Py::Object OutputStdout::isatty | ( | ) |
Referenced by init_type().
Py::Object OutputStdout::repr | ( | ) |
Py::Object OutputStdout::write | ( | const Py::Tuple & | args | ) |
References Base::Console(), and Base::ConsoleSingleton::Message().
Referenced by init_type(), and gzip_utf8.GzipFile::seek().