Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

dox/IO/vtkImageReader2Collection.h

Go to the documentation of this file.
00001 /*=========================================================================
00002 
00003   Program:   Visualization Toolkit
00004   Module:    $RCSfile: vtkImageReader2Collection.h,v $
00005   Language:  C++
00006 
00007   Copyright (c) 1993-2002 Ken Martin, Will Schroeder, Bill Lorensen 
00008   All rights reserved.
00009   See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
00010 
00011      This software is distributed WITHOUT ANY WARRANTY; without even 
00012      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 
00013      PURPOSE.  See the above copyright notice for more information.
00014 
00015 =========================================================================*/
00028 #ifndef __vtkImageReader2Collection_h
00029 #define __vtkImageReader2Collection_h
00030 
00031 #include "vtkCollection.h"
00032 
00033 class vtkImageReader2;
00034 
00035 class VTK_IO_EXPORT vtkImageReader2Collection : public vtkCollection
00036 {
00037 public:
00038   vtkTypeRevisionMacro(vtkImageReader2Collection,vtkCollection);
00039   static vtkImageReader2Collection *New();
00040   virtual void PrintSelf(ostream& os, vtkIndent indent);
00041 
00043   void AddItem(vtkImageReader2 *);
00044 
00046   vtkImageReader2 *GetNextItem();
00047   
00048 protected:
00049   vtkImageReader2Collection() {};
00050   ~vtkImageReader2Collection() {};
00051   
00052 
00053 private:
00054   // hide the standard AddItem from the user and the compiler.
00055   void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
00056 
00057 private:
00058   vtkImageReader2Collection(const vtkImageReader2Collection&);  // Not implemented.
00059   void operator=(const vtkImageReader2Collection&);  // Not implemented.
00060 };
00061 
00062 #endif