16 #ifndef vtkCollectionIterator_h
17 #define vtkCollectionIterator_h
19 #include "vtkCommonCoreModule.h"
23 VTK_ABI_NAMESPACE_BEGIN
80 std::vector<vtkObject*>::iterator Iterator;
abstract base class for most VTK objects
static vtkCollectionIterator * New()
vtkObject * GetObjectInternal()
Specialization of tuple ranges and iterators for vtkAOSDataArrayTemplate.
auto Range(IterablePtr iterable, Options &&...opts) -> typename detail::IterableTraits< typename detail::StripPointers< IterablePtr >::type >::RangeType
Generate an iterable STL proxy object for a VTK container.
~vtkCollectionIterator() override
void GoToFirstItem()
Position the iterator at the first item in the collection.
a simple class to control print indentation
iterator through a vtkCollection.
virtual void SetCollection(vtkCollection *)
Set/Get the collection over which to iterate.
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
int IsDoneWithTraversal()
Test whether the iterator is currently positioned at a valid item.
create and manipulate ordered lists of objects
vtkObject * GetCurrentObject()
Get the item at the current iterator position.
void InitTraversal()
Position the iterator at the first item in the collection.
vtkCollection * Collection
#define VTK_DEPRECATED_IN_9_7_0(reason)
void GoToNextItem()
Move the iterator to the next item in the collection.