VTK
vtkWin32OutputWindow.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkWin32OutputWindow.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
31#ifndef vtkWin32OutputWindow_h
32#define vtkWin32OutputWindow_h
33
34#include "vtkCommonCoreModule.h" // For export macro
35#include "vtkOutputWindow.h"
36
37
38class VTKCOMMONCORE_EXPORT vtkWin32OutputWindow : public vtkOutputWindow
39{
40public:
41// Methods from vtkObject
43 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
44
49
53 virtual void DisplayText(const char*);
54
56
60 vtkGetMacro(SendToStdErr, bool);
61 vtkSetMacro(SendToStdErr, bool);
62 vtkBooleanMacro(SendToStdErr, bool);
64
65protected:
68
69 void PromptText(const char* text);
70 static void AddText(const char*);
71 static int Initialize();
72
73private:
74 bool SendToStdErr;
75
76 vtkWin32OutputWindow(const vtkWin32OutputWindow&) VTK_DELETE_FUNCTION;
77 void operator=(const vtkWin32OutputWindow&) VTK_DELETE_FUNCTION;
78};
79
80
81#endif
a simple class to control print indentation
Definition: vtkIndent.h:40
base class for writing debug output to a console
Win32 Specific output window class.
void PrintSelf(ostream &os, vtkIndent indent) override
Print ObjectFactor to stream.
void PromptText(const char *text)
static int Initialize()
static vtkWin32OutputWindow * New()
Create a vtkWin32OutputWindow.
static void AddText(const char *)
virtual void DisplayText(const char *)
New lines are converted to carriage return new lines.
virtual ~vtkWin32OutputWindow()
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.