Gui::OutputStderr Class Reference

Python class for redirection of stderr to FreeCAD's output console window. More...

#include <PythonConsolePy.h>

Inheritance diagram for Gui::OutputStderr:
Py::PythonExtension< OutputStderr > Py::PythonExtensionBase

List of all members.

Public Member Functions

Py::Object flush (const Py::Tuple &)
 OutputStderr ()
Py::Object repr ()
Py::Object write (const Py::Tuple &)
 ~OutputStderr ()

Static Public Member Functions

static void init_type (void)

Detailed Description

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.

See also:
PythonStdout
PythonStderr
Author:
Werner Mayer

Definition at line 110 of file PythonConsolePy.h.


Constructor & Destructor Documentation

OutputStderr::OutputStderr (  ) 

Definition at line 233 of file PythonConsolePy.cpp.

OutputStderr::~OutputStderr (  ) 

Definition at line 237 of file PythonConsolePy.cpp.


Member Function Documentation

Py::Object OutputStderr::flush ( const Py::Tuple  ) 

Definition at line 275 of file PythonConsolePy.cpp.

References Sketcher::None.

Referenced by init_type().

void OutputStderr::init_type ( void   )  [static]
Py::Object OutputStderr::repr (  )  [virtual]

Reimplemented from Py::PythonExtensionBase.

Definition at line 241 of file PythonConsolePy.cpp.

Py::Object OutputStderr::write ( const Py::Tuple args  ) 

Definition at line 249 of file PythonConsolePy.cpp.

References Py::Exception::clear(), Base::Console(), Sketcher::None, and Py::Object::ptr().

Referenced by init_type().


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

Generated on Wed Nov 23 19:02:00 2011 for FreeCAD by  doxygen 1.6.1