VTK  9.1.0
vtkDataArrayCollectionIterator.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: Visualization Toolkit
4 Module: vtkDataArrayCollectionIterator.h
5
6 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7 All rights reserved.
8 See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9
10 This software is distributed WITHOUT ANY WARRANTY; without even
11 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12 PURPOSE. See the above copyright notice for more information.
13
14=========================================================================*/
24#ifndef vtkDataArrayCollectionIterator_h
25#define vtkDataArrayCollectionIterator_h
26
28#include "vtkCommonCoreModule.h" // For export macro
29
30class vtkDataArray;
32
33class VTKCOMMONCORE_EXPORT vtkDataArrayCollectionIterator : public vtkCollectionIterator
34{
35public:
37 void PrintSelf(ostream& os, vtkIndent indent) override;
39
41
47
53
54protected:
57
58private:
60 void operator=(const vtkDataArrayCollectionIterator&) = delete;
61};
62
63#endif
iterator through a vtkCollection.
create and manipulate ordered lists of objects
Definition: vtkCollection.h:53
iterator through a vtkDataArrayCollection.
void SetCollection(vtkCollection *) override
Set the collection over which to iterate.
static vtkDataArrayCollectionIterator * New()
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.
maintain an ordered list of dataarray objects
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:159
a simple class to control print indentation
Definition: vtkIndent.h:113