00001 /*========================================================================= 00002 00003 Program: Insight Segmentation & Registration Toolkit 00004 Module: $RCSfile: itkXMLFileOutputWindow.h,v $ 00005 Language: C++ 00006 Date: $Date: 2002/01/15 18:57:32 $ 00007 Version: $Revision: 1.5 $ 00008 00009 Copyright (c) 2002 Insight Consortium. All rights reserved. 00010 See ITKCopyright.txt or http://www.itk.org/HTML/Copyright.htm for details. 00011 00012 This software is distributed WITHOUT ANY WARRANTY; without even 00013 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00014 PURPOSE. See the above copyright notices for more information. 00015 00016 =========================================================================*/ 00017 #ifndef __itkXMLFileOutputWindow_h 00018 #define __itkXMLFileOutputWindow_h 00019 00020 #include "itkFileOutputWindow.h" 00021 00022 namespace itk 00023 { 00046 class ITK_EXPORT XMLFileOutputWindow : public FileOutputWindow 00047 { 00048 public: 00050 typedef XMLFileOutputWindow Self; 00051 typedef FileOutputWindow Superclass; 00052 typedef SmartPointer<Self> Pointer; 00053 typedef SmartPointer<const Self> ConstPointer; 00054 00056 itkNewMacro(Self); 00057 00059 itkTypeMacro(XMLFileOutputWindow, FileOutputWindow); 00060 00062 virtual void DisplayText(const char*); 00063 00065 virtual void DisplayErrorText(const char*); 00066 00068 virtual void DisplayWarningText(const char*); 00069 00071 virtual void DisplayGenericOutputText(const char*); 00072 00074 virtual void DisplayDebugText(const char*); 00075 00077 virtual void DisplayTag(const char*); 00078 00079 protected: 00080 XMLFileOutputWindow(); 00081 virtual ~XMLFileOutputWindow(); 00082 virtual void PrintSelf(std::ostream& os, Indent indent) const; 00083 void Initialize(); 00084 virtual void DisplayXML(const char*, const char*); 00085 00086 private: 00087 XMLFileOutputWindow(const Self&); //purposely not implemented 00088 void operator=(const Self&); //purposely not implemented 00089 00090 }; 00091 00092 } // end namespace itk 00093 00094 #endif