VTK
/Users/kitware/Dashboards/MyTests/VTK_BLD_Release_docs/Utilities/Doxygen/dox/Common/Core/vtkLongLongArray.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkLongLongArray.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 vtkLongLongArray_h
00024 #define vtkLongLongArray_h
00025 
00026 // Tell the template header how to give our superclass a DLL interface.
00027 #if !defined(vtkLongLongArray_cxx)
00028 # define VTK_DATA_ARRAY_TEMPLATE_TYPE 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<long long>
00038 #endif
00039 class VTKCOMMONCORE_EXPORT vtkLongLongArray : public vtkDataArray
00040 #ifndef __WRAP__
00041 #undef vtkDataArray
00042 #endif
00043 {
00044 public:
00045   static vtkLongLongArray* New();
00046   vtkTypeMacro(vtkLongLongArray,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(long long);
00054 #endif
00055 
00056   static long long GetDataTypeValueMin() { return VTK_LONG_LONG_MIN; }
00057 
00059   static long long GetDataTypeValueMax() { return VTK_LONG_LONG_MAX; }
00060 
00061 protected:
00062   vtkLongLongArray();
00063   ~vtkLongLongArray();
00064 
00065 private:
00066   //BTX
00067   typedef vtkDataArrayTemplate<long long> RealSuperclass;
00068   //ETX
00069   vtkLongLongArray(const vtkLongLongArray&);  // Not implemented.
00070   void operator=(const vtkLongLongArray&);  // Not implemented.
00071 };
00072 
00073 #endif