13 #ifndef vtkConstantIntArray_h 14 #define vtkConstantIntArray_h 16 #include "vtkConstantArray.h" 22 #define vtkDataArray vtkConstantArray<int> 25 class VTKCOMMONCORE_EXPORT VTK_DEPRECATED_IN_9_6_0("Use vtkConstantType*Array instead
") vtkConstantIntArray : public vtkDataArray 28 vtkImplicitArrayTypeMacro(vtkConstantIntArray, vtkDataArray); 33 // This macro expands to the set of method declarations that 34 // make up the interface of vtkAOSDataArrayTemplate, which is ignored 36 #if defined(__VTK_WRAP__) || defined(__WRAP_GCCXML__) 37 vtkCreateReadOnlyWrappedArrayInterface(int); 40 static vtkConstantIntArray* New(); 41 static vtkConstantIntArray* ExtendedNew(); 42 void PrintSelf(ostream& os, vtkIndent indent) override; 44 // This macro expands to the set of method declarations that 45 // make up the interface of vtkImplicitArray, which is ignored 51 static vtkConstantIntArray* FastDownCast(vtkAbstractArray* source) 53 return static_cast<vtkConstantIntArray*>(Superclass::FastDownCast(source)); 59 void ConstructBackend(int value); 62 vtkConstantIntArray(); 63 ~vtkConstantIntArray() override; 66 typedef vtkConstantArray<int> RealSuperclass; 68 vtkConstantIntArray(const vtkConstantIntArray&) = delete; 69 void operator=(const vtkConstantIntArray&) = delete; 72 // Define vtkArrayDownCast implementation: 73 vtkArrayDownCast_FastCastMacro(vtkConstantIntArray); 77 // VTK-HeaderTest-Exclude: TYPEMACRO
#define VTKCOMMONCORE_EXPORT
#define VTK_ABI_NAMESPACE_BEGIN