VTK
vtkLongLongArray.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkLongLongArray.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 =========================================================================*/
30 #ifndef vtkLongLongArray_h
31 #define vtkLongLongArray_h
32 
33 // Tell the template header how to give our superclass a DLL interface.
34 #if !defined(vtkLongLongArray_cxx)
35 # define VTK_DATA_ARRAY_TEMPLATE_TYPE long long
36 #endif
37 
38 #include "vtkCommonCoreModule.h" // For export macro
39 #include "vtkDataArray.h"
40 #include "vtkDataArrayTemplate.h" // Real Superclass
41 
42 // Fake the superclass for the wrappers.
43 #ifndef __WRAP__
44 #define vtkDataArray vtkDataArrayTemplate<long long>
45 #endif
47 {
48 public:
50 #ifndef __WRAP__
51 #undef vtkDataArray
52 #endif
53  static vtkLongLongArray* New();
54  void PrintSelf(ostream& os, vtkIndent indent);
55 
56  // This macro expands to the set of method declarations that
57  // make up the interface of vtkDataArrayTemplate, which is ignored
58  // by the wrappers.
59 #if defined(__WRAP__) || defined (__WRAP_GCCXML__)
61 #endif
62 
63  static long long GetDataTypeValueMin() { return VTK_LONG_LONG_MIN; }
64 
66  static long long GetDataTypeValueMax() { return VTK_LONG_LONG_MAX; }
67 
68 protected:
71 
72 private:
73  //BTX
74  typedef vtkDataArrayTemplate<long long> RealSuperclass;
75  //ETX
76  vtkLongLongArray(const vtkLongLongArray&); // Not implemented.
77  void operator=(const vtkLongLongArray&); // Not implemented.
78 };
79 
80 #endif
Implementation template for vtkDataArray.
dynamic, self-adjusting array of long long
#define VTKCOMMONCORE_EXPORT
static long long GetDataTypeValueMin()
#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
static long long GetDataTypeValueMax()
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()