SimpleITK  1.0.1
Classes | 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.

Classes

struct  itk::simple::StaticAssertFailure< bool >
 
struct  itk::simple::StaticAssertFailure< true >
 

Namespaces

 itk
 
 itk::simple
 

Macros

#define CLANG_TEMPLATE
 
#define SITK_ABI_EXPORT
 
#define SITK_ABI_HIDDEN
 
#define SITK_ABI_IMPORT
 
#define SITK_NOEXCEPT   throw()
 
#define SITK_NULLPTR   NULL
 
#define SITK_OVERRIDE
 
#define sitkClangDiagnosticPop()
 
#define sitkClangDiagnosticPush()
 
#define sitkClangWarningIgnore(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 sitkStaticAssert(expr, str)   enum { sitkMacroJoin( static_assert_typedef, __LINE__) = sizeof( itk::simple::StaticAssertFailure<((expr) == 0 ? false : true )> ) };
 

Macro Definition Documentation

#define CLANG_TEMPLATE

Definition at line 74 of file sitkMacro.h.

#define SITK_ABI_EXPORT

Definition at line 48 of file sitkMacro.h.

#define SITK_ABI_HIDDEN

Definition at line 50 of file sitkMacro.h.

#define SITK_ABI_IMPORT

Definition at line 49 of file sitkMacro.h.

#define SITK_NOEXCEPT   throw()

Definition at line 68 of file sitkMacro.h.

#define SITK_NULLPTR   NULL

Definition at line 99 of file sitkMacro.h.

#define SITK_OVERRIDE

Definition at line 67 of file sitkMacro.h.

#define sitkClangDiagnosticPop ( )

Definition at line 132 of file sitkMacro.h.

#define sitkClangDiagnosticPush ( )

Definition at line 131 of file sitkMacro.h.

#define sitkClangWarningIgnore (   x)

Definition at line 133 of file sitkMacro.h.

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

Definition at line 104 of file sitkMacro.h.

#define sitkDoMacroJoin2 (   X,
 
)    X##Y

Definition at line 105 of file sitkMacro.h.

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

Definition at line 89 of file sitkMacro.h.

Referenced by itk::simple::ProcessObject::CastImageToITK(), itk::simple::CreateKernel(), itk::simple::GetImageFromVectorImage(), itk::simple::sitkSTLToITKDirection(), itk::simple::sitkSTLVectorToITK(), and itk::simple::Transform::Transform().

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

Definition at line 103 of file sitkMacro.h.

#define sitkPragma (   x)    _Pragma (#x)

Definition at line 122 of file sitkMacro.h.

#define sitkStaticAssert (   expr,
  str 
)    enum { sitkMacroJoin( static_assert_typedef, __LINE__) = sizeof( itk::simple::StaticAssertFailure<((expr) == 0 ? false : true )> ) };

Definition at line 115 of file sitkMacro.h.

Referenced by itk::simple::Image::Image(), and itk::simple::Transform::Transform().