Slicer  4.10
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
List of all members | Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
vtkTestingOutputWindow Class Reference

VTK message output window class for automated testing. More...

#include <Libs/vtkAddon/vtkTestingOutputWindow.h>

Inheritance diagram for vtkTestingOutputWindow:
Inheritance graph
[legend]
Collaboration diagram for vtkTestingOutputWindow:
Collaboration graph
[legend]

Public Types

typedef vtkOutputWindow Superclass
 

Public Member Functions

virtual void DisplayDebugText (const char *text) VTK_OVERRIDE
 
virtual void DisplayErrorText (const char *text) VTK_OVERRIDE
 
virtual void DisplayGenericWarningText (const char *text) VTK_OVERRIDE
 
virtual void DisplayText (const char *text) VTK_OVERRIDE
 
virtual void DisplayWarningText (const char *text) VTK_OVERRIDE
 
virtual const char * GetClassName ()
 
virtual int GetNumberOfLoggedErrorMessages ()
 
virtual int GetNumberOfLoggedMessages ()
 
int GetNumberOfLoggedWarningErrorMessages ()
 
virtual int GetNumberOfLoggedWarningMessages ()
 
virtual int IsA (const char *type)
 
virtual void PrintSelf (ostream &os, vtkIndent indent) VTK_OVERRIDE
 
virtual void ResetNumberOfLoggedMessages ()
 
virtual void SetNumberOfLoggedErrorMessages (int)
 
virtual void SetNumberOfLoggedMessages (int)
 
virtual void SetNumberOfLoggedWarningMessages (int)
 

Static Public Member Functions

static vtkTestingOutputWindowGetInstance ()
 
static int IsTypeOf (const char *type)
 
static vtkTestingOutputWindowNew ()
 
static vtkTestingOutputWindowSafeDownCast (vtkObject *o)
 

Protected Member Functions

 vtkTestingOutputWindow ()
 
virtual ~vtkTestingOutputWindow ()
 

Protected Attributes

int NumberOfLoggedErrorMessages
 
int NumberOfLoggedMessages
 
int NumberOfLoggedWarningMessages
 

Detailed Description

VTK message output window class for automated testing.

This is a VTK output window class that is optimized to be used in automated tests:

A set of convenience macros are defined. Example:

// Initialize output window. All messages are logged to the console. TESTING_OUTPUT_INIT();

...perform operations that must_not log error messages TESTING_OUTPUT_ASSERT_WARNINGS_ERRORS(0);

TESTING_OUTPUT_ASSERT_WARNINGS_BEGIN(); ...perform operations that must log error messages TESTING_OUTPUT_ASSERT_WARNINGS_END();

Definition at line 45 of file vtkTestingOutputWindow.h.

Member Typedef Documentation

◆ Superclass

typedef vtkOutputWindow vtkTestingOutputWindow::Superclass

Definition at line 48 of file vtkTestingOutputWindow.h.

Constructor & Destructor Documentation

◆ vtkTestingOutputWindow()

vtkTestingOutputWindow::vtkTestingOutputWindow ( )
protected

◆ ~vtkTestingOutputWindow()

virtual vtkTestingOutputWindow::~vtkTestingOutputWindow ( )
protectedvirtual

Member Function Documentation

◆ DisplayDebugText()

virtual void vtkTestingOutputWindow::DisplayDebugText ( const char *  text)
virtual

◆ DisplayErrorText()

virtual void vtkTestingOutputWindow::DisplayErrorText ( const char *  text)
virtual

◆ DisplayGenericWarningText()

virtual void vtkTestingOutputWindow::DisplayGenericWarningText ( const char *  text)
virtual

◆ DisplayText()

virtual void vtkTestingOutputWindow::DisplayText ( const char *  text)
virtual

◆ DisplayWarningText()

virtual void vtkTestingOutputWindow::DisplayWarningText ( const char *  text)
virtual

◆ GetClassName()

virtual const char* vtkTestingOutputWindow::GetClassName ( )
virtual

◆ GetInstance()

static vtkTestingOutputWindow* vtkTestingOutputWindow::GetInstance ( )
static

◆ GetNumberOfLoggedErrorMessages()

virtual int vtkTestingOutputWindow::GetNumberOfLoggedErrorMessages ( )
virtual

◆ GetNumberOfLoggedMessages()

virtual int vtkTestingOutputWindow::GetNumberOfLoggedMessages ( )
virtual

◆ GetNumberOfLoggedWarningErrorMessages()

int vtkTestingOutputWindow::GetNumberOfLoggedWarningErrorMessages ( )

◆ GetNumberOfLoggedWarningMessages()

virtual int vtkTestingOutputWindow::GetNumberOfLoggedWarningMessages ( )
virtual

◆ IsA()

virtual int vtkTestingOutputWindow::IsA ( const char *  type)
virtual

◆ IsTypeOf()

static int vtkTestingOutputWindow::IsTypeOf ( const char *  type)
static

◆ New()

static vtkTestingOutputWindow* vtkTestingOutputWindow::New ( )
static

◆ PrintSelf()

virtual void vtkTestingOutputWindow::PrintSelf ( ostream &  os,
vtkIndent  indent 
)
virtual

◆ ResetNumberOfLoggedMessages()

virtual void vtkTestingOutputWindow::ResetNumberOfLoggedMessages ( )
virtual

◆ SafeDownCast()

static vtkTestingOutputWindow* vtkTestingOutputWindow::SafeDownCast ( vtkObject *  o)
static

◆ SetNumberOfLoggedErrorMessages()

virtual void vtkTestingOutputWindow::SetNumberOfLoggedErrorMessages ( int  )
virtual

◆ SetNumberOfLoggedMessages()

virtual void vtkTestingOutputWindow::SetNumberOfLoggedMessages ( int  )
virtual

◆ SetNumberOfLoggedWarningMessages()

virtual void vtkTestingOutputWindow::SetNumberOfLoggedWarningMessages ( int  )
virtual

Member Data Documentation

◆ NumberOfLoggedErrorMessages

int vtkTestingOutputWindow::NumberOfLoggedErrorMessages
protected

Definition at line 87 of file vtkTestingOutputWindow.h.

◆ NumberOfLoggedMessages

int vtkTestingOutputWindow::NumberOfLoggedMessages
protected

Definition at line 88 of file vtkTestingOutputWindow.h.

◆ NumberOfLoggedWarningMessages

int vtkTestingOutputWindow::NumberOfLoggedWarningMessages
protected

Definition at line 86 of file vtkTestingOutputWindow.h.


The documentation for this class was generated from the following file: