VTK
|
00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: vtkArrayIterator.h 00005 00006 Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen 00007 All rights reserved. 00008 See Copyright.txt or http://www.kitware.com/Copyright.htm for details. 00009 00010 This software is distributed WITHOUT ANY WARRANTY; without even 00011 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00012 PURPOSE. See the above copyright notice for more information. 00013 00014 =========================================================================*/ 00015 00042 #ifndef __vtkArrayIterator_h 00043 #define __vtkArrayIterator_h 00044 00045 #include "vtkCommonCoreModule.h" // For export macro 00046 #include "vtkObject.h" 00047 class vtkAbstractArray; 00048 class VTKCOMMONCORE_EXPORT vtkArrayIterator : public vtkObject 00049 { 00050 public: 00051 vtkTypeMacro(vtkArrayIterator, vtkObject); 00052 void PrintSelf(ostream& os, vtkIndent indent); 00053 00058 virtual void Initialize(vtkAbstractArray* array) = 0; 00059 00061 00063 virtual int GetDataType()=0; 00064 protected: 00065 vtkArrayIterator(); 00066 ~vtkArrayIterator(); 00068 00069 private: 00070 vtkArrayIterator(const vtkArrayIterator&); // Not implemented. 00071 void operator=(const vtkArrayIterator&); // Not implemented. 00072 }; 00073 00074 00075 #endif 00076