VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkUnsignedLongLongArray.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 vtkUnsignedLongLongArray_h 00024 #define vtkUnsignedLongLongArray_h 00025 00026 // Tell the template header how to give our superclass a DLL interface. 00027 #if !defined(vtkUnsignedLongLongArray_cxx) 00028 # define VTK_DATA_ARRAY_TEMPLATE_TYPE unsigned long long 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 long long> 00038 #endif 00039 class VTKCOMMONCORE_EXPORT vtkUnsignedLongLongArray : public vtkDataArray 00040 #ifndef __WRAP__ 00041 #undef vtkDataArray 00042 #endif 00043 { 00044 public: 00045 static vtkUnsignedLongLongArray* New(); 00046 vtkTypeMacro(vtkUnsignedLongLongArray,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 #if defined(__WRAP__) || defined (__WRAP_GCCXML__) 00053 vtkCreateWrappedArrayInterface(unsigned long long); 00054 #endif 00055 00057 static unsigned long long GetDataTypeValueMin() {return VTK_UNSIGNED_LONG_LONG_MIN;} 00058 00060 static unsigned long long GetDataTypeValueMax() {return VTK_UNSIGNED_LONG_LONG_MAX;} 00061 00062 protected: 00063 vtkUnsignedLongLongArray(); 00064 ~vtkUnsignedLongLongArray(); 00065 00066 private: 00067 //BTX 00068 typedef vtkDataArrayTemplate<unsigned long long> RealSuperclass; 00069 //ETX 00070 vtkUnsignedLongLongArray(const vtkUnsignedLongLongArray&); // Not implemented. 00071 void operator=(const vtkUnsignedLongLongArray&); // Not implemented. 00072 }; 00073 00074 #endif