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 =========================================================================*/
27 #ifndef vtkLongLongArray_h
28 #define vtkLongLongArray_h
29 
30 // Tell the template header how to give our superclass a DLL interface.
31 #if !defined(vtkLongLongArray_cxx)
32 # define VTK_DATA_ARRAY_TEMPLATE_TYPE long long
33 #endif
34 
35 #include "vtkCommonCoreModule.h" // For export macro
36 #include "vtkDataArray.h"
37 #include "vtkDataArrayTemplate.h" // Real Superclass
38 
39 // Fake the superclass for the wrappers.
40 #ifndef __WRAP__
41 #define vtkDataArray vtkDataArrayTemplate<long long>
42 #endif
44 #ifndef __WRAP__
45 #undef vtkDataArray
46 #endif
47 {
48 public:
49  static vtkLongLongArray* New();
51  void PrintSelf(ostream& os, vtkIndent indent);
52 
53  // This macro expands to the set of method declarations that
54  // make up the interface of vtkDataArrayTemplate, which is ignored
55  // by the wrappers.
56 #if defined(__WRAP__) || defined (__WRAP_GCCXML__)
58 #endif
59 
60  static long long GetDataTypeValueMin() { return VTK_LONG_LONG_MIN; }
61 
63  static long long GetDataTypeValueMax() { return VTK_LONG_LONG_MAX; }
64 
65 protected:
68 
69 private:
70  //BTX
71  typedef vtkDataArrayTemplate<long long> RealSuperclass;
72  //ETX
73  vtkLongLongArray(const vtkLongLongArray&); // Not implemented.
74  void operator=(const vtkLongLongArray&); // Not implemented.
75 };
76 
77 #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()