Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vtkXMLFileOutputWindow Class Reference

XML File Specific output window class. More...

#include <vtkXMLFileOutputWindow.h>

Inheritance diagram for vtkXMLFileOutputWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLFileOutputWindow:

Collaboration graph
[legend]
List of all members.

Public Methods

virtual const char * GetClassName ()
virtual int IsA (const char *type)
virtual void DisplayTag (const char *)
virtual void DisplayText (const char *)
virtual void DisplayErrorText (const char *)
virtual void DisplayWarningText (const char *)
virtual void DisplayGenericWarningText (const char *)
virtual void DisplayDebugText (const char *)

Static Public Methods

int IsTypeOf (const char *type)
vtkXMLFileOutputWindow * SafeDownCast (vtkObject *o)
vtkXMLFileOutputWindow * New ()

Protected Methods

 vtkXMLFileOutputWindow ()
virtual ~vtkXMLFileOutputWindow ()
void Initialize ()
virtual void DisplayXML (const char *, const char *)

Detailed Description

XML File Specific output window class.

Date:
2001/10/11 13:36:31
Revision:
1.5

Writes debug/warning/error output to an XML file. Uses prefined XML tags for each text display method. The text is processed to replace XML markup characters.

DisplayText - <Text>

DisplayErrorText - <Error>

DisplayWarningText - <Warning>

DisplayGenericWarningText - <GenericWarning>

DisplayDebugText - <Debug.

The method DisplayTag outputs the text unprocessed. To use this class, instantiate it and then call SetInstance(this).

Tests:
vtkXMLFileOutputWindow (Tests)

Definition at line 73 of file vtkXMLFileOutputWindow.h.


Constructor & Destructor Documentation

vtkXMLFileOutputWindow::vtkXMLFileOutputWindow   [inline, protected]
 

Definition at line 96 of file vtkXMLFileOutputWindow.h.

virtual vtkXMLFileOutputWindow::~vtkXMLFileOutputWindow   [inline, protected, virtual]
 

Definition at line 97 of file vtkXMLFileOutputWindow.h.


Member Function Documentation

virtual const char* vtkXMLFileOutputWindow::GetClassName   [virtual]
 

Return the class name as a string. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkFileOutputWindow.

int vtkXMLFileOutputWindow::IsTypeOf const char *    type [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkFileOutputWindow.

virtual int vtkXMLFileOutputWindow::IsA const char *    type [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkFileOutputWindow.

vtkXMLFileOutputWindow* vtkXMLFileOutputWindow::SafeDownCast vtkObject   o [static]
 

Will cast the supplied object to vtkObject* is this is a safe operation (i.e., a safe downcast); otherwise NULL is returned. This method is defined in all subclasses of vtkObject with the vtkTypeMacro found in vtkSetGet.h.

Reimplemented from vtkFileOutputWindow.

vtkXMLFileOutputWindow* vtkXMLFileOutputWindow::New   [static]
 

This is a singleton pattern New. There will only be ONE reference to a vtkOutputWindow object per process. Clients that call this must call Delete on the object so that the reference counting will work. The single instance will be unreferenced when the program exits.

Reimplemented from vtkFileOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayText const char *    [virtual]
 

Put the text into the log file. The text is processed to replace &, <, > with &amp, &lt, and &gt. Each display method outputs a different XML tag.

Reimplemented from vtkFileOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayErrorText const char *    [virtual]
 

Put the text into the log file. The text is processed to replace &, <, > with &amp, &lt, and &gt. Each display method outputs a different XML tag.

Reimplemented from vtkOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayWarningText const char *    [virtual]
 

Put the text into the log file. The text is processed to replace &, <, > with &amp, &lt, and &gt. Each display method outputs a different XML tag.

Reimplemented from vtkOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayGenericWarningText const char *    [virtual]
 

Put the text into the log file. The text is processed to replace &, <, > with &amp, &lt, and &gt. Each display method outputs a different XML tag.

Reimplemented from vtkOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayDebugText const char *    [virtual]
 

Put the text into the log file. The text is processed to replace &, <, > with &amp, &lt, and &gt. Each display method outputs a different XML tag.

Reimplemented from vtkOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayTag const char *    [virtual]
 

Put the text into the log file without processing it.

void vtkXMLFileOutputWindow::Initialize   [protected]
 

Reimplemented from vtkFileOutputWindow.

virtual void vtkXMLFileOutputWindow::DisplayXML const char *   ,
const char *   
[protected, virtual]
 


The documentation for this class was generated from the following file:
Generated on Thu Mar 28 14:48:45 2002 for VTK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001