SimpleITK  
Namespaces | Macros
sitkMacro.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <cassert>
#include <sstream>
#include <limits>
#include "sitkConfigure.h"
+ Include dependency graph for sitkMacro.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 itk
 
 itk::simple
 

Macros

#define CLANG_TEMPLATE
 
#define SITK_ABI_EXPORT
 
#define SITK_ABI_HIDDEN
 
#define SITK_ABI_IMPORT
 
#define sitkClangDiagnosticPop()
 
#define sitkClangDiagnosticPush()
 
#define sitkClangWarningIgnore(x)
 
#define sitkDebugMacro(x)
 
#define sitkDoMacroJoin(X, Y)   sitkDoMacroJoin2(X, Y)
 
#define sitkDoMacroJoin2(X, Y)   X##Y
 
#define sitkExceptionMacro(x)
 
#define sitkMacroJoin(X, Y)   sitkDoMacroJoin(X, Y)
 
#define sitkPragma(x)   _Pragma(#x)
 
#define sitkWarningMacro(x)
 

Macro Definition Documentation

◆ CLANG_TEMPLATE

#define CLANG_TEMPLATE

Definition at line 57 of file sitkMacro.h.

◆ SITK_ABI_EXPORT

#define SITK_ABI_EXPORT

Definition at line 48 of file sitkMacro.h.

◆ SITK_ABI_HIDDEN

#define SITK_ABI_HIDDEN

Definition at line 50 of file sitkMacro.h.

◆ SITK_ABI_IMPORT

#define SITK_ABI_IMPORT

Definition at line 49 of file sitkMacro.h.

◆ sitkClangDiagnosticPop

#define sitkClangDiagnosticPop ( )

Definition at line 111 of file sitkMacro.h.

◆ sitkClangDiagnosticPush

#define sitkClangDiagnosticPush ( )

Definition at line 110 of file sitkMacro.h.

◆ sitkClangWarningIgnore

#define sitkClangWarningIgnore (   x)

Definition at line 112 of file sitkMacro.h.

◆ sitkDebugMacro

#define sitkDebugMacro (   x)
Value:
{ \
if (this->GetDebug()) \
{ \
std::ostringstream msg; \
msg << "Debug: " << this->GetName() << " (" << this << "): " x << "\n\n"; \
::itk::OutputWindowDisplayDebugText(msg.str().c_str()); \
} \
}

Definition at line 85 of file sitkMacro.h.

◆ sitkDoMacroJoin

#define sitkDoMacroJoin (   X,
 
)    sitkDoMacroJoin2(X, Y)

Definition at line 96 of file sitkMacro.h.

◆ sitkDoMacroJoin2

#define sitkDoMacroJoin2 (   X,
 
)    X##Y

Definition at line 97 of file sitkMacro.h.

◆ sitkExceptionMacro

#define sitkExceptionMacro (   x)
Value:
{ \
std::ostringstream message; \
message << "sitk::ERROR: " x; \
throw ::itk::simple::GenericException(__FILE__, __LINE__, message.str().c_str()); \
}

Definition at line 70 of file sitkMacro.h.

◆ sitkMacroJoin

#define sitkMacroJoin (   X,
 
)    sitkDoMacroJoin(X, Y)

Definition at line 95 of file sitkMacro.h.

◆ sitkPragma

#define sitkPragma (   x)    _Pragma(#x)

Definition at line 101 of file sitkMacro.h.

◆ sitkWarningMacro

#define sitkWarningMacro (   x)
Value:
{ \
std::ostringstream msg; \
msg << this->GetName() << " (" << this << "): " x; \
itk::OutputWindowDisplayWarningText(msg.str().c_str()); \
}

Definition at line 77 of file sitkMacro.h.