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 =========================================================================*/
30 #ifndef vtkWin32OutputWindow_h
31 #define vtkWin32OutputWindow_h
32 
33 #include "vtkCommonCoreModule.h" // For export macro
34 #include "vtkOutputWindow.h"
35 
36 
38 {
39 public:
40 // Methods from vtkObject
42  void PrintSelf(ostream& os, vtkIndent indent);
43 
45  static vtkWin32OutputWindow* New();
46 
48  virtual void DisplayText(const char*);
49 
51 
53  vtkGetMacro(SendToStdErr, bool);
54  vtkSetMacro(SendToStdErr, bool);
55  vtkBooleanMacro(SendToStdErr, bool);
57 
58 protected:
60  virtual ~vtkWin32OutputWindow();
61 
62  void PromptText(const char* text);
63  static void AddText(const char*);
64  static int Initialize();
65 
66 private:
67  bool SendToStdErr;
68 
69  vtkWin32OutputWindow(const vtkWin32OutputWindow&); // Not implemented.
70  void operator=(const vtkWin32OutputWindow&); // Not implemented.
71 };
72 
73 
74 #endif
virtual void DisplayText(const char *)
#define VTKCOMMONCORE_EXPORT
static vtkOutputWindow * New()
a simple class to control print indentation
Definition: vtkIndent.h:38
base class for writing debug output to a console
virtual void PrintSelf(ostream &os, vtkIndent indent)
Win32 Specific output window class.