VTK  9.3.20240419
vtkImageReader2Collection.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
13 #ifndef vtkImageReader2Collection_h
14 #define vtkImageReader2Collection_h
15 
16 #include "vtkCollection.h"
17 #include "vtkIOImageModule.h" // For export macro
18 
19 VTK_ABI_NAMESPACE_BEGIN
20 class vtkImageReader2;
21 
22 class VTKIOIMAGE_EXPORT vtkImageReader2Collection : public vtkCollection
23 {
24 public:
27  void PrintSelf(ostream& os, vtkIndent indent) override;
28 
33 
38 
44 
45 protected:
47  ~vtkImageReader2Collection() override = default;
48 
49 private:
50  // hide the standard AddItem from the user and the compiler.
51  void AddItem(vtkObject* o) { this->vtkCollection::AddItem(o); }
52 
54  void operator=(const vtkImageReader2Collection&) = delete;
55 };
56 
57 VTK_ABI_NAMESPACE_END
58 #endif
create and manipulate ordered lists of objects
Definition: vtkCollection.h:46
void AddItem(vtkObject *)
Add an object to the bottom of the list.
maintain a list of image readers
vtkImageReader2Collection()=default
vtkImageReader2 * GetNextImageReader2(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
void AddItem(vtkImageReader2 *)
Add an image reader to the list.
vtkImageReader2 * GetNextItem()
Get the next image reader in the list.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkImageReader2Collection * New()
~vtkImageReader2Collection() override=default
Superclass of binary file readers.
a simple class to control print indentation
Definition: vtkIndent.h:108
abstract base class for most VTK objects
Definition: vtkObject.h:162
void * vtkCollectionSimpleIterator
Definition: vtkCollection.h:41