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 "vtkOutputWindow.h"
34 
35 
37 {
38 public:
39 // Methods from vtkObject
41  void PrintSelf(ostream& os, vtkIndent indent);
42 
44  static vtkWin32OutputWindow* New();
45 
47  virtual void DisplayText(const char*);
48 
50 
52  vtkGetMacro(SendToStdErr, bool);
53  vtkSetMacro(SendToStdErr, bool);
54  vtkBooleanMacro(SendToStdErr, bool);
56 
57 protected:
59  virtual ~vtkWin32OutputWindow();
60 
61  void PromptText(const char* text);
62  static void AddText(const char*);
63  static int Initialize();
64 
65 private:
66  bool SendToStdErr;
67 
68  vtkWin32OutputWindow(const vtkWin32OutputWindow&); // Not implemented.
69  void operator=(const vtkWin32OutputWindow&); // Not implemented.
70 };
71 
72 
73 #endif
virtual void DisplayText(const char *)
static vtkOutputWindow * New()
a simple class to control print indentation
Definition: vtkIndent.h:37
#define VTK_COMMON_EXPORT
base class for writing debug output to a console
virtual void PrintSelf(ostream &os, vtkIndent indent)
Win32 Specific output window class.