MCPcopy Create free account
hub / github.com/Kitware/VTK / WriteStdErr

Method WriteStdErr

Utilities/PythonInterpreter/vtkPythonInterpreter.cxx:926–937  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

924
925//------------------------------------------------------------------------------
926void vtkPythonInterpreter::WriteStdErr(const char* txt)
927{
928 if (vtkPythonInterpreter::ConsoleBuffering)
929 {
930 vtkPythonInterpreter::StdErrBuffer += std::string(txt);
931 }
932 else
933 {
934 vtkOutputWindow::GetInstance()->DisplayErrorText(txt);
935 NotifyInterpreters(vtkCommand::ErrorEvent, const_cast<char*>(txt));
936 }
937}
938
939//------------------------------------------------------------------------------
940void vtkPythonInterpreter::FlushStdErr() {}

Callers

nothing calls this directly

Calls 3

NotifyInterpretersFunction · 0.85
stringClass · 0.50
DisplayErrorTextMethod · 0.45

Tested by

no test coverage detected