00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkArrayIterator.h,v $ 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 =========================================================================*/ 00040 #ifndef __vtkArrayIterator_h 00041 #define __vtkArrayIterator_h 00042 00043 #include "vtkObject.h" 00044 class vtkAbstractArray; 00045 class VTK_COMMON_EXPORT vtkArrayIterator : public vtkObject 00046 { 00047 public: 00048 vtkTypeRevisionMacro(vtkArrayIterator, vtkObject); 00049 void PrintSelf(ostream& os, vtkIndent indent); 00050 00055 virtual void Initialize(vtkAbstractArray* array) = 0; 00056 00059 virtual int GetDataType()=0; 00060 protected: 00061 vtkArrayIterator(); 00062 ~vtkArrayIterator(); 00063 00064 private: 00065 vtkArrayIterator(const vtkArrayIterator&); // Not implemented. 00066 void operator=(const vtkArrayIterator&); // Not implemented. 00067 }; 00068 00069 00070 #endif 00071