VTK  9.7.1
vtkArrayIterator.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
3 
31 #ifndef vtkArrayIterator_h
32 #define vtkArrayIterator_h
33 
34 #include "vtkCommonCoreModule.h" // For export macro
35 #include "vtkObject.h"
36 VTK_ABI_NAMESPACE_BEGIN
37 class vtkAbstractArray;
39  : public vtkObject
40 {
41 public:
42  vtkTypeMacro(vtkArrayIterator, vtkObject);
43  void PrintSelf(ostream& os, vtkIndent indent) override;
44 
52  virtual void Initialize(vtkAbstractArray* array) = 0;
53 
58  virtual int GetDataType() const = 0;
59 
60 protected:
62  ~vtkArrayIterator() override;
63 
64 private:
65  vtkArrayIterator(const vtkArrayIterator&) = delete;
66  void operator=(const vtkArrayIterator&) = delete;
67 };
68 
69 VTK_ABI_NAMESPACE_END
70 #endif
abstract base class for most VTK objects
Definition: vtkObject.h:52
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Abstract superclass for all arrays.
a simple class to control print indentation
Definition: vtkIndent.h:28
Abstract superclass to iterate over elements in an vtkAbstractArray.
#define VTK_DEPRECATED_IN_9_7_0(reason)