SimpleITK  2.0.0rc2.post17
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)
 

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 107 of file sitkMacro.h.

◆ sitkClangDiagnosticPush

#define sitkClangDiagnosticPush ( )

Definition at line 106 of file sitkMacro.h.

◆ sitkClangWarningIgnore

#define sitkClangWarningIgnore (   x)

Definition at line 108 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 79 of file sitkMacro.h.

◆ sitkDoMacroJoin

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

Definition at line 91 of file sitkMacro.h.

◆ sitkDoMacroJoin2

#define sitkDoMacroJoin2 (   X,
 
)    X##Y

Definition at line 92 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 71 of file sitkMacro.h.

◆ sitkMacroJoin

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

Definition at line 90 of file sitkMacro.h.

◆ sitkPragma

#define sitkPragma (   x)    _Pragma (#x)

Definition at line 97 of file sitkMacro.h.