13 #ifndef vtkConstantUnsignedShortArray_h 14 #define vtkConstantUnsignedShortArray_h 16 #include "vtkConstantArray.h" 22 #define vtkDataArray vtkConstantArray<unsigned short> 25 class VTKCOMMONCORE_EXPORT VTK_DEPRECATED_IN_9_6_0("Use vtkConstantType*Array instead
") vtkConstantUnsignedShortArray : public vtkDataArray 28 vtkImplicitArrayTypeMacro(vtkConstantUnsignedShortArray, 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(unsigned short); 40 static vtkConstantUnsignedShortArray* New(); 41 static vtkConstantUnsignedShortArray* 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 vtkConstantUnsignedShortArray* FastDownCast(vtkAbstractArray* source) 53 return static_cast<vtkConstantUnsignedShortArray*>(Superclass::FastDownCast(source)); 59 void ConstructBackend(unsigned short value); 62 vtkConstantUnsignedShortArray(); 63 ~vtkConstantUnsignedShortArray() override; 66 typedef vtkConstantArray<unsigned short> RealSuperclass; 68 vtkConstantUnsignedShortArray(const vtkConstantUnsignedShortArray&) = delete; 69 void operator=(const vtkConstantUnsignedShortArray&) = delete; 72 // Define vtkArrayDownCast implementation: 73 vtkArrayDownCast_FastCastMacro(vtkConstantUnsignedShortArray); 77 // VTK-HeaderTest-Exclude: TYPEMACRO
#define VTKCOMMONCORE_EXPORT
#define VTK_ABI_NAMESPACE_BEGIN