VTK
vtkImageReader2Collection.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtkImageReader2Collection.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
24 #ifndef __vtkImageReader2Collection_h
25 #define __vtkImageReader2Collection_h
26 
27 #include "vtkCollection.h"
28 
29 class vtkImageReader2;
30 
32 {
33 public:
36  virtual void PrintSelf(ostream& os, vtkIndent indent);
37 
39  void AddItem(vtkImageReader2 *);
40 
42  vtkImageReader2 *GetNextItem();
43 
44  //BTX
46 
48  vtkImageReader2 *GetNextImageReader2(vtkCollectionSimpleIterator &cookie);
49  //ETX
51 
52 protected:
55 
56 
57 private:
58  // hide the standard AddItem from the user and the compiler.
59  void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
60 
61 private:
62  vtkImageReader2Collection(const vtkImageReader2Collection&); // Not implemented.
63  void operator=(const vtkImageReader2Collection&); // Not implemented.
64 };
65 
66 #endif
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:46
abstract base class for most VTK objects
Definition: vtkObject.h:60
void PrintSelf(ostream &os, vtkIndent indent)
a simple class to control print indentation
Definition: vtkIndent.h:37
static vtkCollection * New()
Superclass of binary file readers.
void AddItem(vtkObject *)
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:51
#define VTK_IO_EXPORT
maintain a list of image readers