VTK  9.1.0
Macros
vtkTemplateAliasMacro.h File Reference
#include "vtkTypeTraits.h"
Include dependency graph for vtkTemplateAliasMacro.h:

Go to the source code of this file.

Macros

#define VTK_USE_INT8   1
 
#define VTK_USE_UINT8   1
 
#define VTK_USE_INT16   1
 
#define VTK_USE_UINT16   1
 
#define VTK_USE_INT32   1
 
#define VTK_USE_UINT32   1
 
#define VTK_USE_INT64   1
 
#define VTK_USE_UINT64   1
 
#define VTK_USE_FLOAT32   1
 
#define VTK_USE_FLOAT64   1
 
#define vtkTemplateAliasMacroCase(typeN, call)    vtkTemplateAliasMacroCase0(typeN, call, VTK_TYPE_SIZED_##typeN)
 
#define vtkTemplateAliasMacroCase0(typeN, call, sized)    vtkTemplateAliasMacroCase1(typeN, call, sized)
 
#define vtkTemplateAliasMacroCase1(typeN, call, sized)    vtkTemplateAliasMacroCase2(typeN, call, VTK_USE_##sized)
 
#define vtkTemplateAliasMacroCase2(typeN, call, value)    vtkTemplateAliasMacroCase3(typeN, call, value)
 
#define vtkTemplateAliasMacroCase3(typeN, call, value)    vtkTemplateAliasMacroCase_##value(typeN, call)
 
#define vtkTemplateAliasMacroCase_0(typeN, call)
 
#define vtkTemplateAliasMacroCase_1(typeN, call)
 
#define vtkTemplateAliasMacro(call)
 

Macro Definition Documentation

◆ VTK_USE_INT8

#define VTK_USE_INT8   1

Definition at line 46 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_UINT8

#define VTK_USE_UINT8   1

Definition at line 47 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_INT16

#define VTK_USE_INT16   1

Definition at line 48 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_UINT16

#define VTK_USE_UINT16   1

Definition at line 49 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_INT32

#define VTK_USE_INT32   1

Definition at line 50 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_UINT32

#define VTK_USE_UINT32   1

Definition at line 51 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_INT64

#define VTK_USE_INT64   1

Definition at line 52 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_UINT64

#define VTK_USE_UINT64   1

Definition at line 53 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_FLOAT32

#define VTK_USE_FLOAT32   1

Definition at line 54 of file vtkTemplateAliasMacro.h.

◆ VTK_USE_FLOAT64

#define VTK_USE_FLOAT64   1

Definition at line 55 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase

#define vtkTemplateAliasMacroCase (   typeN,
  call 
)     vtkTemplateAliasMacroCase0(typeN, call, VTK_TYPE_SIZED_##typeN)

Definition at line 60 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase0

#define vtkTemplateAliasMacroCase0 (   typeN,
  call,
  sized 
)     vtkTemplateAliasMacroCase1(typeN, call, sized)

Definition at line 62 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase1

#define vtkTemplateAliasMacroCase1 (   typeN,
  call,
  sized 
)     vtkTemplateAliasMacroCase2(typeN, call, VTK_USE_##sized)

Definition at line 64 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase2

#define vtkTemplateAliasMacroCase2 (   typeN,
  call,
  value 
)     vtkTemplateAliasMacroCase3(typeN, call, value)

Definition at line 66 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase3

#define vtkTemplateAliasMacroCase3 (   typeN,
  call,
  value 
)     vtkTemplateAliasMacroCase_##value(typeN, call)

Definition at line 68 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase_0

#define vtkTemplateAliasMacroCase_0 (   typeN,
  call 
)
Value:
case VTK_##typeN: \
{ \
vtkGenericWarningMacro("Support for VTK_" #typeN " not compiled."); \
}; \
break

Definition at line 70 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacroCase_1

#define vtkTemplateAliasMacroCase_1 (   typeN,
  call 
)
Value:
case VTK_##typeN: \
{ \
call; \
}; \
break
Template defining traits of native types used by VTK.
Definition: vtkTypeTraits.h:30

Definition at line 76 of file vtkTemplateAliasMacro.h.

◆ vtkTemplateAliasMacro

#define vtkTemplateAliasMacro (   call)
Value:
vtkTemplateAliasMacroCase(DOUBLE, call); \
vtkTemplateAliasMacroCase(FLOAT, call); \
vtkTemplateAliasMacroCase(LONG_LONG, call); \
vtkTemplateAliasMacroCase(UNSIGNED_LONG_LONG, call); \
vtkTemplateAliasMacroCase(ID_TYPE, call); \
vtkTemplateAliasMacroCase(LONG, call); \
vtkTemplateAliasMacroCase(UNSIGNED_LONG, call); \
vtkTemplateAliasMacroCase(INT, call); \
vtkTemplateAliasMacroCase(UNSIGNED_INT, call); \
vtkTemplateAliasMacroCase(SHORT, call); \
vtkTemplateAliasMacroCase(UNSIGNED_SHORT, call); \
vtkTemplateAliasMacroCase(CHAR, call); \
vtkTemplateAliasMacroCase(SIGNED_CHAR, call); \
vtkTemplateAliasMacroCase(UNSIGNED_CHAR, call)
#define vtkTemplateAliasMacroCase(typeN, call)

Definition at line 86 of file vtkTemplateAliasMacro.h.