VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkUnsigned__Int64Array.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 =========================================================================*/ 00023 #ifndef __vtkUnsigned__Int64Array_h 00024 #define __vtkUnsigned__Int64Array_h 00025 00026 // Tell the template header how to give our superclass a DLL interface. 00027 #if !defined(__vtkUnsigned__Int64Array_cxx) 00028 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned __int64 00029 #endif 00030 00031 #include "vtkCommonCoreModule.h" // For export macro 00032 #include "vtkDataArray.h" 00033 #include "vtkDataArrayTemplate.h" // Real Superclass 00034 00035 // Fake the superclass for the wrappers. 00036 #ifndef __WRAP__ 00037 #define vtkDataArray vtkDataArrayTemplate<unsigned __int64> 00038 #endif 00039 class VTKCOMMONCORE_EXPORT vtkUnsigned__Int64Array : public vtkDataArray 00040 #ifndef __WRAP__ 00041 #undef vtkDataArray 00042 #endif 00043 { 00044 public: 00045 static vtkUnsigned__Int64Array* New(); 00046 vtkTypeMacro(vtkUnsigned__Int64Array,vtkDataArray); 00047 void PrintSelf(ostream& os, vtkIndent indent); 00048 00049 // This macro expands to the set of method declarations that 00050 // make up the interface of vtkDataArrayTemplate, which is ignored 00051 // by the wrappers. 00052 #ifdef __WRAP__ 00053 vtkCreateWrappedArrayInterface(unsigned __int64); 00054 #endif 00055 00057 static unsigned __int64 GetDataTypeValueMin() { return VTK_UNSIGNED___INT64_MIN; } 00058 00060 static unsigned __int64 GetDataTypeValueMax() { return VTK_UNSIGNED___INT64_MAX; } 00061 00062 protected: 00063 vtkUnsigned__Int64Array(vtkIdType numComp=1); 00064 ~vtkUnsigned__Int64Array(); 00065 00066 private: 00067 //BTX 00068 typedef vtkDataArrayTemplate<unsigned __int64> RealSuperclass; 00069 //ETX 00070 vtkUnsigned__Int64Array(const vtkUnsigned__Int64Array&); // Not implemented. 00071 void operator=(const vtkUnsigned__Int64Array&); // Not implemented. 00072 }; 00073 00074 #endif