VTK  9.1.20211024
vtkXMLFileOutputWindow.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkXMLFileOutputWindow.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 =========================================================================*/
37 #ifndef vtkXMLFileOutputWindow_h
38 #define vtkXMLFileOutputWindow_h
39 
40 #include "vtkCommonCoreModule.h" // For export macro
41 #include "vtkFileOutputWindow.h"
42 
43 class VTKCOMMONCORE_EXPORT vtkXMLFileOutputWindow : public vtkFileOutputWindow
44 {
45 public:
47  void PrintSelf(ostream& os, vtkIndent indent) override;
48 
50 
52 
57  void DisplayText(const char*) override;
58  void DisplayErrorText(const char*) override;
59  void DisplayWarningText(const char*) override;
60  void DisplayGenericWarningText(const char*) override;
61  void DisplayDebugText(const char*) override;
63 
67  virtual void DisplayTag(const char*);
68 
69 protected:
71  ~vtkXMLFileOutputWindow() override = default;
72 
73  void Initialize();
74  virtual void DisplayXML(const char*, const char*);
75 
76 private:
78  void operator=(const vtkXMLFileOutputWindow&) = delete;
79 };
80 
81 #endif
File Specific output window class.
a simple class to control print indentation
Definition: vtkIndent.h:113
XML File Specific output window class.
void DisplayGenericWarningText(const char *) override
Put the text into the log file.
~vtkXMLFileOutputWindow() override=default
static vtkXMLFileOutputWindow * New()
void DisplayErrorText(const char *) override
Put the text into the log file.
vtkXMLFileOutputWindow()=default
void DisplayDebugText(const char *) override
Put the text into the log file.
void DisplayWarningText(const char *) override
Put the text into the log file.
virtual void DisplayTag(const char *)
Put the text into the log file without processing it.
virtual void DisplayXML(const char *, const char *)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
void DisplayText(const char *) override
Put the text into the log file.