VTK: Common/Core/vtkTemplateAliasMacro.h File Reference

| VTK 9.3.1

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 34 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_UINT8

#define VTK_USE_UINT8 1

Definition at line 35 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_INT16

#define VTK_USE_INT16 1

Definition at line 36 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_UINT16

#define VTK_USE_UINT16 1

Definition at line 37 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_INT32

#define VTK_USE_INT32 1

Definition at line 38 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_UINT32

#define VTK_USE_UINT32 1

Definition at line 39 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_INT64

#define VTK_USE_INT64 1

Definition at line 40 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_UINT64

#define VTK_USE_UINT64 1

Definition at line 41 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_FLOAT32

#define VTK_USE_FLOAT32 1

Definition at line 42 of file vtkTemplateAliasMacro.h.

## ◆ VTK_USE_FLOAT64

#define VTK_USE_FLOAT64 1

Definition at line 43 of file vtkTemplateAliasMacro.h.

## ◆ vtkTemplateAliasMacroCase

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

Definition at line 48 of file vtkTemplateAliasMacro.h.

## ◆ vtkTemplateAliasMacroCase0

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

Definition at line 50 of file vtkTemplateAliasMacro.h.

## ◆ vtkTemplateAliasMacroCase1

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

Definition at line 52 of file vtkTemplateAliasMacro.h.

## ◆ vtkTemplateAliasMacroCase2

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

Definition at line 54 of file vtkTemplateAliasMacro.h.

## ◆ vtkTemplateAliasMacroCase3

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

Definition at line 56 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 58 of file vtkTemplateAliasMacro.h.

## ◆ vtkTemplateAliasMacroCase_1

#define vtkTemplateAliasMacroCase_1 | ( |  | typeN,
|  |  | call
| ) |  |

Value:
case VTK_##typeN: \
{ \
typedef vtkTypeTraits<VTK_TYPE_NAME_##typeN>::SizedType VTK_TT; \
call; \
}; \
break
vtkTypeTraits
Template defining traits of native types used by VTK.
Definition: vtkTypeTraits.h:23

Definition at line 64 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)
vtkTemplateAliasMacroCase
#define vtkTemplateAliasMacroCase(typeN, call)
Definition: vtkTemplateAliasMacro.h:48

Definition at line 74 of file vtkTemplateAliasMacro.h.