VTK  9.1.0
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 "vtkCollection.h"
29#include "vtkIOImageModule.h" // For export macro
30
31class vtkImageReader2;
32
33class VTKIOIMAGE_EXPORT vtkImageReader2Collection : public vtkCollection
34{
35public:
38 void PrintSelf(ostream& os, vtkIndent indent) override;
39
44
49
55
56protected:
58 ~vtkImageReader2Collection() override = default;
59
60private:
61 // hide the standard AddItem from the user and the compiler.
62 void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); }
63
64private:
66 void operator=(const vtkImageReader2Collection&) = delete;
67};
68
69#endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:53
void AddItem(vtkObject *)
Add an object to the bottom of the list.
maintain a list of image readers
vtkImageReader2Collection()=default
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.
~vtkImageReader2Collection() override=default
Superclass of binary file readers.
a simple class to control print indentation
Definition: vtkIndent.h:113
abstract base class for most VTK objects
Definition: vtkObject.h:73
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:48