VTK
vtkMPIPixelTT.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkMPIPixelTT.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
15#ifndef vtkMPIPixelTT_h
16#define vtkMPIPixelTT_h
17
18#include "vtkType.h" // for vtk types
19#include "vtkMPI.h"
20
21// Description:
22// Traits class for converting from vtk data type enum
23// to the appropriate C or MPI datatype.
24template<typename T> class vtkMPIPixelTT;
25
26#define vtkMPIPixelTTMacro1(_ctype) \
27template<> \
28class vtkMPIPixelTT<_ctype> \
29{ \
30public: \
31 static MPI_Datatype MPIType; \
32 static int VTKType; \
33};
34
37vtkMPIPixelTTMacro1(signed char)
38vtkMPIPixelTTMacro1(unsigned char)
40vtkMPIPixelTTMacro1(unsigned short)
42vtkMPIPixelTTMacro1(unsigned int)
44vtkMPIPixelTTMacro1(unsigned long)
47//vtkMPIPixelTTMacro1(vtkIdType)
48vtkMPIPixelTTMacro1(long long)
49vtkMPIPixelTTMacro1(unsigned long long)
50
51#endif
52// VTK-HeaderTest-Exclude: vtkMPIPixelTT.h
#define vtkMPIPixelTTMacro1(_ctype)
Definition: vtkMPIPixelTT.h:26