VTK
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 
27 #include "vtkCommonCoreModule.h" // For export macro
28 #include "vtkCollectionIterator.h"
29 
30 class vtkDataArray;
32 
33 class VTKCOMMONCORE_EXPORT vtkDataArrayCollectionIterator : public vtkCollectionIterator
34 {
35 public:
37  void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39 
41 
44  void SetCollection(vtkCollection*) VTK_OVERRIDE;
45  void SetCollection(vtkDataArrayCollection*);
47 
52  vtkDataArray* GetDataArray();
53 
54 protected:
56  ~vtkDataArrayCollectionIterator() VTK_OVERRIDE;
57 
58 private:
59  vtkDataArrayCollectionIterator(const vtkDataArrayCollectionIterator&) VTK_DELETE_FUNCTION;
60  void operator=(const vtkDataArrayCollectionIterator&) VTK_DELETE_FUNCTION;
61 };
62 
63 #endif
static vtkCollectionIterator * New()
a simple class to control print indentation
Definition: vtkIndent.h:39
abstract superclass for arrays of numeric data
Definition: vtkDataArray.h:54
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 unsorted lists of objects
Definition: vtkCollection.h:51
maintain an unordered list of dataarray objects