VTK  9.7.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 #include "vtkDeprecation.h" // For VTK_DEPRECATED_IN_9_7_0
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class vtkDataArray;
22 
23 class VTKCOMMONCORE_EXPORT VTK_DEPRECATED_IN_9_7_0(
25 {
26 public:
28  void PrintSelf(ostream& os, vtkIndent indent) override;
30 
32 
35  void SetCollection(vtkCollection*) override;
38 
44 
45 protected:
48 
49 private:
51  void operator=(const vtkDataArrayCollectionIterator&) = delete;
52 };
53 
54 VTK_ABI_NAMESPACE_END
55 #endif
static vtkCollectionIterator * New()
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.
vtkDataArray * GetDataArray()
Get the item at the current iterator position.
auto Range(IterablePtr iterable, Options &&...opts) -> typename detail::IterableTraits< typename detail::StripPointers< IterablePtr >::type >::RangeType
Generate an iterable STL proxy object for a VTK container.
Definition: vtkRange.h:74
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:39
maintain an ordered list of dataarray objects
#define VTK_DEPRECATED_IN_9_7_0(reason)
~vtkDataArrayCollectionIterator() override