VTK  9.3.1
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 
41  vtkDataArray* GetDataArray();
42 
43 protected:
46 
47 private:
49  void operator=(const vtkDataArrayCollectionIterator&) = delete;
50 };
51 
52 VTK_ABI_NAMESPACE_END
53 #endif
static vtkCollectionIterator * New()
a simple class to control print indentation
Definition: vtkIndent.h:28
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:44
iterator through a vtkDataArrayCollection.
iterator through a vtkCollection.
virtual void SetCollection(vtkCollection *)
Set/Get the collection over which to iterate.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
create and manipulate ordered lists of objects
Definition: vtkCollection.h:44
maintain an ordered list of dataarray objects