VTK  9.3.20240424
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
19VTK_ABI_NAMESPACE_BEGIN
20class vtkImageReader2;
21
22class VTKIOIMAGE_EXPORT vtkImageReader2Collection : public vtkCollection
23{
24public:
27 void PrintSelf(ostream& os, vtkIndent indent) override;
28
33
38
44
45protected:
47 ~vtkImageReader2Collection() override = default;
48
49private:
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
57VTK_ABI_NAMESPACE_END
58#endif
create and manipulate ordered lists of objects
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:108
abstract base class for most VTK objects
Definition vtkObject.h:162
void * vtkCollectionSimpleIterator