Gui::OutputStdout Class Reference

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)
 

Detailed Description

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.

See also
PythonStdout
PythonStderr
Author
Werner Mayer

Constructor & Destructor Documentation

◆ OutputStdout()

OutputStdout::OutputStdout ( )

◆ ~OutputStdout()

OutputStdout::~OutputStdout ( )

Member Function Documentation

◆ flush()

Py::Object OutputStdout::flush ( const Py::Tuple &  )

Referenced by init_type().

◆ getattr()

Py::Object OutputStdout::getattr ( const char *  name)

◆ init_type()

void OutputStdout::init_type ( void  )
static

References flush(), isatty(), and write().

Referenced by Gui::Application::Application().

◆ isatty()

Py::Object OutputStdout::isatty ( )

Referenced by init_type().

◆ repr()

Py::Object OutputStdout::repr ( )

◆ write()

Py::Object OutputStdout::write ( const Py::Tuple &  args)

The documentation for this class was generated from the following files: