VTK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
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 =========================================================================*/
23 #ifndef __vtkLongLongArray_h
24 #define __vtkLongLongArray_h
25 
26 // Tell the template header how to give our superclass a DLL interface.
27 #if !defined(__vtkLongLongArray_cxx)
28 # define VTK_DATA_ARRAY_TEMPLATE_TYPE long long
29 #endif
30 
31 #include "vtkCommonCoreModule.h" // For export macro
32 #include "vtkDataArray.h"
33 #include "vtkDataArrayTemplate.h" // Real Superclass
34 
35 // Fake the superclass for the wrappers.
36 #ifndef __WRAP__
37 #define vtkDataArray vtkDataArrayTemplate<long long>
38 #endif
40 #ifndef __WRAP__
41 #undef vtkDataArray
42 #endif
43 {
44 public:
45  static vtkLongLongArray* New();
47  void PrintSelf(ostream& os, vtkIndent indent);
48 
49  // This macro expands to the set of method declarations that
50  // make up the interface of vtkDataArrayTemplate, which is ignored
51  // by the wrappers.
52 #ifdef __WRAP__
54 #endif
55 
56  static long long GetDataTypeValueMin() { return VTK_LONG_LONG_MIN; }
57 
59  static long long GetDataTypeValueMax() { return VTK_LONG_LONG_MAX; }
60 
61 protected:
64 
65 private:
66  //BTX
67  typedef vtkDataArrayTemplate<long long> RealSuperclass;
68  //ETX
69  vtkLongLongArray(const vtkLongLongArray&); // Not implemented.
70  void operator=(const vtkLongLongArray&); // Not implemented.
71 };
72 
73 #endif
Implementation template for vtkDataArray.
dynamic, self-adjusting array of long long
#define VTKCOMMONCORE_EXPORT
static long long GetDataTypeValueMin()
#define vtkTypeMacro(thisClass, superclass)
Definition: vtkSetGet.h:619
#define vtkCreateWrappedArrayInterface(T)
a simple class to control print indentation
Definition: vtkIndent.h:38
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:53
static long long GetDataTypeValueMax()
void PrintSelf(ostream &os, vtkIndent indent)
static vtkObject * New()