vtkXMLFileOutputWindow Class Reference

#include <vtkXMLFileOutputWindow.h>

Inheritance diagram for vtkXMLFileOutputWindow:

Inheritance graph
[legend]
Collaboration diagram for vtkXMLFileOutputWindow:

Collaboration graph
[legend]

List of all members.


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


Public Types

typedef vtkFileOutputWindow Superclass

Public Member Functions

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 Member Functions

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

Protected Member Functions

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

Member Typedef Documentation

Reimplemented from vtkFileOutputWindow.

Definition at line 48 of file vtkXMLFileOutputWindow.h.


Constructor & Destructor Documentation

vtkXMLFileOutputWindow::vtkXMLFileOutputWindow (  )  [inline, protected]

Definition at line 67 of file vtkXMLFileOutputWindow.h.

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

Definition at line 68 of file vtkXMLFileOutputWindow.h.


Member Function Documentation

virtual const char* vtkXMLFileOutputWindow::GetClassName (  )  [virtual]

Reimplemented from vtkFileOutputWindow.

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 vtkTypeRevisionMacro 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 vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkFileOutputWindow.

static vtkXMLFileOutputWindow* vtkXMLFileOutputWindow::SafeDownCast ( vtkObject o  )  [static]

Reimplemented from vtkFileOutputWindow.

static 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 Sat Dec 27 14:00:27 2008 for VTK by  doxygen 1.5.6