00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkXMLFileOutputWindow.h,v $ 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 "vtkFileOutputWindow.h" 00043 00044 00045 class VTK_COMMON_EXPORT vtkXMLFileOutputWindow : public vtkFileOutputWindow 00046 { 00047 public: 00048 vtkTypeRevisionMacro(vtkXMLFileOutputWindow, vtkFileOutputWindow); 00049 00050 static vtkXMLFileOutputWindow* New(); 00051 00053 00056 virtual void DisplayText(const char*); 00057 virtual void DisplayErrorText(const char*); 00058 virtual void DisplayWarningText(const char*); 00059 virtual void DisplayGenericWarningText(const char*); 00060 virtual void DisplayDebugText(const char*); 00062 00064 virtual void DisplayTag(const char*); 00065 00066 protected: 00067 vtkXMLFileOutputWindow() {}; 00068 virtual ~vtkXMLFileOutputWindow() {}; 00069 00070 void Initialize(); 00071 virtual void DisplayXML(const char*, const char*); 00072 00073 private: 00074 vtkXMLFileOutputWindow(const vtkXMLFileOutputWindow&); // Not implemented. 00075 void operator=(const vtkXMLFileOutputWindow&); // Not implemented. 00076 }; 00077 00078 00079 00080 #endif