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=========================================================================*/
25#ifndef vtkImageReader2Collection_h
26#define vtkImageReader2Collection_h
27
28#include "vtkIOImageModule.h" // For export macro
29#include "vtkCollection.h"
30
31class vtkImageReader2;
32
33class VTKIOIMAGE_EXPORT vtkImageReader2Collection : public vtkCollection
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) VTK_OVERRIDE;
39
44
49
55
56protected:
59
60
61private:
62 // hide the standard AddItem from the user and the compiler.
63 void AddItem(vtkObject *o) { this->vtkCollection::AddItem(o); };
64
65private:
66 vtkImageReader2Collection(const vtkImageReader2Collection&) VTK_DELETE_FUNCTION;
67 void operator=(const vtkImageReader2Collection&) VTK_DELETE_FUNCTION;
68};
69
70#endif
create and manipulate unsorted lists of objects
Definition: vtkCollection.h:52
void AddItem(vtkObject *)
Add an object to the list.
maintain a list of image readers
vtkImageReader2 * GetNextItem()
Get the next image reader in the list.
vtkImageReader2 * GetNextImageReader2(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
static vtkImageReader2Collection * New()
void AddItem(vtkImageReader2 *)
Add an image reader to the list.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
Superclass of binary file readers.
a simple class to control print indentation
Definition: vtkIndent.h:40
abstract base class for most VTK objects
Definition: vtkObject.h:60
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:47