Slicer  4.8
Slicer is a multi-platform, free and open source software package for visualization and medical image computing
Macros
vtkLoggingMacros.h File Reference
#include "vtkAddon.h"
Include dependency graph for vtkLoggingMacros.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define vtkInfoMacro(x)   vtkInfoWithObjectMacro(this,x);
 
#define vtkInfoWithObjectMacro(self, x)
 
#define vtkInfoWithoutObjectMacro(x)
 

Macro Definition Documentation

◆ vtkInfoMacro

#define vtkInfoMacro (   x)    vtkInfoWithObjectMacro(this,x);

Definition at line 61 of file vtkLoggingMacros.h.

◆ vtkInfoWithObjectMacro

#define vtkInfoWithObjectMacro (   self,
 
)
Value:
{ \
vtkOStreamWrapper::EndlType endl; \
vtkOStreamWrapper::UseEndl(endl); \
vtkOStrStreamWrapper vtkmsg; \
vtkmsg << "Info: In " __FILE__ ", line " << __LINE__ \
<< "\n" << self->GetClassName() << " (" << self \
<< "): " x << "\n\n"; \
vtkOutputWindowDisplayText(vtkmsg.str()); \
vtkmsg.rdbuf()->freeze(0); \
}

Definition at line 34 of file vtkLoggingMacros.h.

◆ vtkInfoWithoutObjectMacro

#define vtkInfoWithoutObjectMacro (   x)
Value:
{ \
vtkOStreamWrapper::EndlType endl; \
vtkOStreamWrapper::UseEndl(endl); \
vtkOStrStreamWrapper vtkmsg; \
vtkmsg << "Info: In " __FILE__ ", line " << __LINE__ \
<< "\n" x << "\n\n"; \
vtkOutputWindowDisplayText(vtkmsg.str()); \
vtkmsg.rdbuf()->freeze(0); \
}

Definition at line 48 of file vtkLoggingMacros.h.