VTK
vtk__Int64Array.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtk__Int64Array.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 =========================================================================*/
28 #ifndef vtk__Int64Array_h
29 #define vtk__Int64Array_h
30 
31 // Tell the template header how to give our superclass a DLL interface.
32 #if !defined(vtk__Int64Array_cxx)
33 # define VTK_DATA_ARRAY_TEMPLATE_TYPE __int64
34 #endif
35 
36 #include "vtkCommonCoreModule.h" // For export macro
37 #include "vtkDataArray.h"
38 #include "vtkDataArrayTemplate.h" // Real Superclass
39 
40 // Fake the superclass for the wrappers.
41 #ifndef __WRAP__
42 #define vtkDataArray vtkDataArrayTemplate<__int64>
43 #endif
45 #ifndef __WRAP__
46 #undef vtkDataArray
47 #endif
48 {
49 public:
50  static vtk__Int64Array* New();
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
54  // This macro expands to the set of method declarations that
55  // make up the interface of vtkDataArrayTemplate, which is ignored
56  // by the wrappers.
57 #if defined(__WRAP__) || defined (__WRAP_GCCXML__)
59 #endif
60 
62  static __int64 GetDataTypeValueMin() { return VTK___INT64_MIN; }
63 
65  static __int64 GetDataTypeValueMax() { return VTK___INT64_MAX; }
66 
67 protected:
68  vtk__Int64Array(vtkIdType numComp=1);
69  ~vtk__Int64Array();
70 
71 private:
72  //BTX
73  typedef vtkDataArrayTemplate<__int64> RealSuperclass;
74  //ETX
75  vtk__Int64Array(const vtk__Int64Array&); // Not implemented.
76  void operator=(const vtk__Int64Array&); // Not implemented.
77 };
78 
79 #endif
Implementation template for vtkDataArray.
#define VTKCOMMONCORE_EXPORT
static __int64 GetDataTypeValueMin()
static __int64 GetDataTypeValueMax()
int vtkIdType
Definition: vtkType.h:275
#define vtkCreateWrappedArrayInterface(T)
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
dynamic, self-adjusting array of __int64
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()