VTK  9.3.0
vtkDataArrayCollectionIterator.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
12 #ifndef vtkDataArrayCollectionIterator_h
13 #define vtkDataArrayCollectionIterator_h
14 
15 #include "vtkCollectionIterator.h"
16 #include "vtkCommonCoreModule.h" // For export macro
17 
18 VTK_ABI_NAMESPACE_BEGIN
19 class vtkDataArray;
21 
22 class VTKCOMMONCORE_EXPORT vtkDataArrayCollectionIterator : public vtkCollectionIterator
23 {
24 public:
26  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
30 
33  void SetCollection(vtkCollection*) override;
36 
42 
43 protected:
46 
47 private:
49  void operator=(const vtkDataArrayCollectionIterator&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
iterator through a vtkCollection.
create and manipulate ordered lists of objects
Definition: vtkCollection.h:45
iterator through a vtkDataArrayCollection.
void SetCollection(vtkCollection *) override
Set the collection over which to iterate.
void SetCollection(vtkDataArrayCollection *)
Set the collection over which to iterate.
vtkDataArray * GetDataArray()
Get the item at the current iterator position.
~vtkDataArrayCollectionIterator() override
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataArrayCollectionIterator * New()
maintain an ordered list of dataarray objects
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:45
a simple class to control print indentation
Definition: vtkIndent.h:29