VTK
vtkArrayIterator.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkArrayIterator.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 =========================================================================*/
15 
42 #ifndef vtkArrayIterator_h
43 #define vtkArrayIterator_h
44 
45 #include "vtkCommonCoreModule.h" // For export macro
46 #include "vtkObject.h"
47 class vtkAbstractArray;
49 {
50 public:
51  vtkTypeMacro(vtkArrayIterator, vtkObject);
52  void PrintSelf(ostream& os, vtkIndent indent);
53 
58  virtual void Initialize(vtkAbstractArray* array) = 0;
59 
61 
63  virtual int GetDataType()=0;
64 protected:
68 
69 private:
70  vtkArrayIterator(const vtkArrayIterator&); // Not implemented.
71  void operator=(const vtkArrayIterator&); // Not implemented.
72 };
73 
74 
75 #endif
76 
abstract base class for most VTK objects
Definition: vtkObject.h:61
Abstract superclass for all arrays.
#define VTKCOMMONCORE_EXPORT
virtual void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:38
Abstract superclass to iterate over elements in an vtkAbstractArray.