11#ifndef vtkDataObjectCollection_h
12#define vtkDataObjectCollection_h
15#include "vtkCommonDataModelModule.h"
19VTK_ABI_NAMESPACE_BEGIN
create and manipulate ordered lists of objects
vtkObject * GetItemAsObject(int i)
Get the i'th item in the collection.
void AddItem(vtkObject *)
Add an object to the bottom of the list.
vtkObject * GetNextItemAsObject()
Get the next item in the collection.
maintain an unordered list of data objects
void AddItem(vtkDataObject *ds)
Add a data object to the bottom of the list.
~vtkDataObjectCollection() override=default
vtkDataObject * GetNextDataObject(vtkCollectionSimpleIterator &cookie)
Reentrant safe way to get an object in a collection.
vtkDataObject * GetItem(int i)
Get the ith data object in the list.
vtkDataObject * GetNextItem()
Get the next data object in the list.
vtkDataObjectCollection()=default
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
static vtkDataObjectCollection * New()
general representation of visualization data
a simple class to control print indentation
abstract base class for most VTK objects
void * vtkCollectionSimpleIterator