VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkXMLFileOutputWindow.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00039 #ifndef __vtkXMLFileOutputWindow_h 00040 #define __vtkXMLFileOutputWindow_h 00041 00042 #include "vtkCommonCoreModule.h" // For export macro 00043 #include "vtkFileOutputWindow.h" 00044 00045 00046 class VTKCOMMONCORE_EXPORT vtkXMLFileOutputWindow : public vtkFileOutputWindow 00047 { 00048 public: 00049 vtkTypeMacro(vtkXMLFileOutputWindow, vtkFileOutputWindow); 00050 00051 static vtkXMLFileOutputWindow* New(); 00052 00054 00057 virtual void DisplayText(const char*); 00058 virtual void DisplayErrorText(const char*); 00059 virtual void DisplayWarningText(const char*); 00060 virtual void DisplayGenericWarningText(const char*); 00061 virtual void DisplayDebugText(const char*); 00063 00065 virtual void DisplayTag(const char*); 00066 00067 protected: 00068 vtkXMLFileOutputWindow() {}; 00069 virtual ~vtkXMLFileOutputWindow() {}; 00070 00071 void Initialize(); 00072 virtual void DisplayXML(const char*, const char*); 00073 00074 private: 00075 vtkXMLFileOutputWindow(const vtkXMLFileOutputWindow&); // Not implemented. 00076 void operator=(const vtkXMLFileOutputWindow&); // Not implemented. 00077 }; 00078 00079 00080 00081 #endif 00082 // VTK-HeaderTest-Exclude: vtkXMLFileOutputWindow.h