vtkCompositeUnsignedLongLongArray.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkCompositeUnsignedLongLongArray_h
14 #define vtkCompositeUnsignedLongLongArray_h
15 
16 #include "vtkCompositeArray.h" // Real Superclass
17 #include "vtkCommonCoreModule.h" // For export macro
18 #include "vtkDataArray.h"
19 
20 // Fake the superclass for the wrappers.
21 #ifndef __VTK_WRAP__
22 #define vtkDataArray vtkCompositeArray<unsigned long long>
23 #endif
26 
28 {
29 public:
30  vtkImplicitArrayTypeMacro(vtkCompositeUnsignedLongLongArray, vtkDataArray);
31 #ifndef __VTK_WRAP__
32 #undef vtkDataArray
33 #endif
34 
36  static vtkCompositeUnsignedLongLongArray* ExtendedNew();
37  void PrintSelf(ostream& os, vtkIndent indent) override;
38 
39  // This macro expands to the set of method declarations that
40  // make up the interface of vtkImplicitArray, which is ignored
41  // by the wrappers.
42 #if defined(__VTK_WRAP__) || defined(__WRAP_GCCXML__)
43  vtkCreateReadOnlyWrappedArrayInterface(unsigned long long);
44 #endif
45 
50  {
51  return static_cast<vtkCompositeUnsignedLongLongArray*>(Superclass::FastDownCast(source));
52  }
53 
57  void ConstructBackend(vtkDataArrayCollection* arrays);
58 
59 protected:
62 
63 private:
64  typedef vtkCompositeArray<unsigned long long> RealSuperclass;
65 
67  void operator=(const vtkCompositeUnsignedLongLongArray&) = delete;
68 };
69 
70 // Define vtkArrayDownCast implementation:
72 
74 #endif
75 // VTK-HeaderTest-Exclude: TYPEMACRO
vtkArrayDownCast_FastCastMacro(vtkCompositeUnsignedLongLongArray)
#define VTKCOMMONCORE_EXPORT
#define VTK_ABI_NAMESPACE_END
void PrintSelf(ostream &os, vtkIndent indent) VTK_OVERRIDE
#define VTK_ABI_NAMESPACE_BEGIN
static vtkCompositeUnsignedLongLongArray * FastDownCast(vtkAbstractArray *source)
A faster alternative to SafeDownCast for downcasting vtkAbstractArrays.
static vtkObject * New()
composite implicit array of unsigned long long.
void operator=(const vtkObjectBase &)