VTK  9.4.20241217
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.
12VTK_ABI_NAMESPACE_BEGIN
13template <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
28vtkMPIPixelTTMacro1(unsigned char);
30vtkMPIPixelTTMacro1(unsigned short);
32vtkMPIPixelTTMacro1(unsigned int);
34vtkMPIPixelTTMacro1(unsigned long);
37// vtkMPIPixelTTMacro1(vtkIdType);
39vtkMPIPixelTTMacro1(unsigned long long);
40
41VTK_ABI_NAMESPACE_END
42#endif
43// VTK-HeaderTest-Exclude: vtkMPIPixelTT.h
#define vtkMPIPixelTTMacro1(_ctype)