VTK  9.3.20240329
vtkMPIPixelTT.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtkMPIPixelTT_h
4 #define vtkMPIPixelTT_h
5 
6 #include "vtkMPI.h"
7 #include "vtkType.h" // for vtk types
8 
9 // Description:
10 // Traits class for converting from vtk data type enum
11 // to the appropriate C or MPI datatype.
12 VTK_ABI_NAMESPACE_BEGIN
13 template <typename T>
15 
16 #define vtkMPIPixelTTMacro1(_ctype) \
17  template <> \
18  class vtkMPIPixelTT<_ctype> \
19  { \
20  public: \
21  static MPI_Datatype MPIType; \
22  static int VTKType; \
23  }
24 
27 vtkMPIPixelTTMacro1(signed char);
28 vtkMPIPixelTTMacro1(unsigned char);
30 vtkMPIPixelTTMacro1(unsigned short);
32 vtkMPIPixelTTMacro1(unsigned int);
34 vtkMPIPixelTTMacro1(unsigned long);
37 // vtkMPIPixelTTMacro1(vtkIdType);
39 vtkMPIPixelTTMacro1(unsigned long long);
40 
41 VTK_ABI_NAMESPACE_END
42 #endif
43 // VTK-HeaderTest-Exclude: vtkMPIPixelTT.h
#define vtkMPIPixelTTMacro1(_ctype)
Definition: vtkMPIPixelTT.h:16