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 "vtkObject.h" 00046 class vtkAbstractArray; 00047 class VTK_COMMON_EXPORT vtkArrayIterator : public vtkObject 00048 { 00049 public: 00050 vtkTypeMacro(vtkArrayIterator, vtkObject); 00051 void PrintSelf(ostream& os, vtkIndent indent); 00052 00057 virtual void Initialize(vtkAbstractArray* array) = 0; 00058 00060 00062 virtual int GetDataType()=0; 00063 protected: 00064 vtkArrayIterator(); 00065 ~vtkArrayIterator(); 00067 00068 private: 00069 vtkArrayIterator(const vtkArrayIterator&); // Not implemented. 00070 void operator=(const vtkArrayIterator&); // Not implemented. 00071 }; 00072 00073 00074 #endif 00075