28#ifndef vtkCollectionIterator_h
29#define vtkCollectionIterator_h
31#include "vtkCommonCoreModule.h"
iterator through a vtkCollection.
void InitTraversal()
Position the iterator at the first item in the collection.
static vtkCollectionIterator * New()
~vtkCollectionIterator() override
int IsDoneWithTraversal()
Test whether the iterator is currently positioned at a valid item.
vtkObject * GetObjectInternal()
void GoToNextItem()
Move the iterator to the next item in the collection.
vtkCollection * Collection
vtkObject * GetCurrentObject()
Get the item at the current iterator position.
virtual void SetCollection(vtkCollection *)
Set/Get the collection over which to iterate.
void GoToFirstItem()
Position the iterator at the first item in the collection.
vtkCollectionElement * Element
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
create and manipulate ordered lists of objects
a simple class to control print indentation
abstract base class for most VTK objects