00001 /*========================================================================= 00002 00003 Program: Visualization Toolkit 00004 Module: $RCSfile: vtkDataArrayCollectionIterator.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 =========================================================================*/ 00023 #ifndef __vtkDataArrayCollectionIterator_h 00024 #define __vtkDataArrayCollectionIterator_h 00025 00026 #include "vtkCollectionIterator.h" 00027 00028 class vtkDataArray; 00029 class vtkDataArrayCollection; 00030 00031 class VTK_COMMON_EXPORT vtkDataArrayCollectionIterator : public vtkCollectionIterator 00032 { 00033 public: 00034 vtkTypeRevisionMacro(vtkDataArrayCollectionIterator,vtkCollectionIterator); 00035 void PrintSelf(ostream& os, vtkIndent indent); 00036 static vtkDataArrayCollectionIterator* New(); 00037 00039 00040 virtual void SetCollection(vtkCollection*); 00041 void SetCollection(vtkDataArrayCollection*); 00043 00046 vtkDataArray* GetDataArray(); 00047 00048 protected: 00049 vtkDataArrayCollectionIterator(); 00050 ~vtkDataArrayCollectionIterator(); 00051 00052 private: 00053 vtkDataArrayCollectionIterator(const vtkDataArrayCollectionIterator&); // Not implemented 00054 void operator=(const vtkDataArrayCollectionIterator&); // Not implemented 00055 }; 00056 00057 #endif