VTK
dox/IO/Image/vtkImageReader2Collection.h
Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    vtkImageReader2Collection.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 =========================================================================*/
00024 #ifndef __vtkImageReader2Collection_h
00025 #define __vtkImageReader2Collection_h
00026 
00027 #include "vtkIOImageModule.h" // For export macro
00028 #include "vtkCollection.h"
00029 
00030 class vtkImageReader2;
00031 
00032 class VTKIOIMAGE_EXPORT vtkImageReader2Collection : public vtkCollection
00033 {
00034 public:
00035   vtkTypeMacro(vtkImageReader2Collection,vtkCollection);
00036   static vtkImageReader2Collection *New();
00037   virtual void PrintSelf(ostream& os, vtkIndent indent);
00038 
00040   void AddItem(vtkImageReader2 *);
00041 
00043   vtkImageReader2 *GetNextItem();
00044 
00045   //BTX
00047 
00049   vtkImageReader2 *GetNextImageReader2(vtkCollectionSimpleIterator &cookie);
00050   //ETX
00052 
00053 protected:
00054   vtkImageReader2Collection() {}
00055   ~vtkImageReader2Collection() {}
00056 
00057 
00058 private:
00059   // hide the standard AddItem from the user and the compiler.
00060   void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
00061 
00062 private:
00063   vtkImageReader2Collection(const vtkImageReader2Collection&);  // Not implemented.
00064   void operator=(const vtkImageReader2Collection&);  // Not implemented.
00065 };
00066 
00067 #endif