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