VTK
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions
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 Types

typedef vtkFileOutputWindow Superclass

Public Member Functions

virtual int IsA (const char *type)
vtkXMLFileOutputWindowNewInstance () const
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 Member Functions

static int IsTypeOf (const char *type)
static vtkXMLFileOutputWindowSafeDownCast (vtkObjectBase *o)
static vtkXMLFileOutputWindowNew ()

Protected Member Functions

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

Detailed Description

XML File Specific output window class.

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 46 of file vtkXMLFileOutputWindow.h.


Member Typedef Documentation

Reimplemented from vtkFileOutputWindow.

Definition at line 49 of file vtkXMLFileOutputWindow.h.


Constructor & Destructor Documentation

Definition at line 68 of file vtkXMLFileOutputWindow.h.

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

Definition at line 69 of file vtkXMLFileOutputWindow.h.


Member Function Documentation

static int vtkXMLFileOutputWindow::IsTypeOf ( const char *  name) [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 *  name) [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.

Reimplemented from vtkFileOutputWindow.

virtual vtkObjectBase* vtkXMLFileOutputWindow::NewInstanceInternal ( ) const [protected, virtual]

Reimplemented from vtkFileOutputWindow.

Reimplemented from vtkFileOutputWindow.

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: