00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkXMLFileOutputWindow.h,v $ 00005 Language: C++ 00006 00007 Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 00008 All rights reserved. 00009 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00010 00011 This software is distributed WITHOUT ANY WARRANTY; without even 00012 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00013 PURPOSE. See the above copyright notice for more information. 00014 00015 =========================================================================*/ 00054 #ifndef __vtkXMLFileOutputWindow_h 00055 #define __vtkXMLFileOutputWindow_h 00056 00057 #include "vtkFileOutputWindow.h" 00058 00059 00060 class VTK_COMMON_EXPORT vtkXMLFileOutputWindow : public vtkFileOutputWindow 00061 { 00062 public: 00063 vtkTypeRevisionMacro(vtkXMLFileOutputWindow, vtkFileOutputWindow); 00064 00065 static vtkXMLFileOutputWindow* New(); 00066 00068 00071 virtual void DisplayText(const char*); 00072 virtual void DisplayErrorText(const char*); 00073 virtual void DisplayWarningText(const char*); 00074 virtual void DisplayGenericWarningText(const char*); 00075 virtual void DisplayDebugText(const char*); 00077 00079 virtual void DisplayTag(const char*); 00080 00081 00082 protected: 00083 vtkXMLFileOutputWindow() {}; 00084 virtual ~vtkXMLFileOutputWindow() {}; 00085 00086 void Initialize(); 00087 virtual void DisplayXML(const char*, const char*); 00088 private: 00089 vtkXMLFileOutputWindow(const vtkXMLFileOutputWindow&); // Not implemented. 00090 void operator=(const vtkXMLFileOutputWindow&); // Not implemented. 00091 }; 00092 00093 00094 00095 #endif