VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkADIOSUtilities.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 #ifndef __vtkADIOSUtilities_h 00016 #define __vtkADIOSUtilities_h 00017 00018 #include <vtkType.h> 00019 00020 #include "ADIOSUtilities.h" 00021 00022 namespace ADIOS 00023 { 00024 namespace Type 00025 { 00026 00027 // Specialization for vtkIdType 00028 template<> ADIOS_DATATYPES NativeToADIOS<vtkIdType>(); 00029 00030 // Description: 00031 // Map VTK datatypes into ADIOS data types 00032 ADIOS_DATATYPES VTKToADIOS(int tv); 00033 00034 // Description: 00035 // Map VTK datatypes into ADIOS data types 00036 int ADIOSToVTK(ADIOS_DATATYPES ta); 00037 00038 } // End namespace Type 00039 } // End namespace ADIOS 00040 00041 #endif 00042 // VTK-HeaderTest-Exclude: vtkADIOSUtilities.h