Main Page | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members | Related Pages

vtkAbstractIterator< KeyType, DataType > Class Template Reference

is an iterator for vtkContainer subclasses More...

#include <vtkAbstractIterator.h>

Inheritance diagram for vtkAbstractIterator< KeyType, DataType >:

Inheritance graph
[legend]
Collaboration diagram for vtkAbstractIterator< KeyType, DataType >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void SetContainer (vtkContainer *)
vtkContainerGetContainer ()

Protected Member Functions

 vtkAbstractIterator ()
virtual ~vtkAbstractIterator ()

Protected Attributes

vtkContainerContainer
vtkIdType ReferenceCount

Friends

class vtkContainer

Detailed Description

template<class KeyType, class DataType>
class vtkAbstractIterator< KeyType, DataType >

is an iterator for vtkContainer subclasses

vtkAbstractIterator is a superclass of all container iterators.

See also:
vtkContainer
Caveates:
VTK Iterators are not reliable when adding or deleting elements from the container. Use iterators for traversing only.

Definition at line 35 of file vtkAbstractIterator.h.


Constructor & Destructor Documentation

template<class KeyType, class DataType>
vtkAbstractIterator< KeyType, DataType >::vtkAbstractIterator  )  [protected]
 

Increment the iterator to the next location. virtual void GoToNextItem() = 0;

template<class KeyType, class DataType>
virtual vtkAbstractIterator< KeyType, DataType >::~vtkAbstractIterator  )  [protected, virtual]
 


Member Function Documentation

template<class KeyType, class DataType>
void vtkAbstractIterator< KeyType, DataType >::SetContainer vtkContainer  ) 
 

Set the container for this iterator.

template<class KeyType, class DataType>
vtkContainer* vtkAbstractIterator< KeyType, DataType >::GetContainer  )  [inline]
 

Get the associated container.

Definition at line 57 of file vtkAbstractIterator.h.


Friends And Related Function Documentation

template<class KeyType, class DataType>
friend class vtkContainer [friend]
 

Definition at line 37 of file vtkAbstractIterator.h.


Member Data Documentation

template<class KeyType, class DataType>
vtkContainer* vtkAbstractIterator< KeyType, DataType >::Container [protected]
 

Definition at line 72 of file vtkAbstractIterator.h.

template<class KeyType, class DataType>
vtkIdType vtkAbstractIterator< KeyType, DataType >::ReferenceCount [protected]
 

Definition at line 73 of file vtkAbstractIterator.h.


The documentation for this class was generated from the following file:
Generated on Tue May 30 12:34:28 2006 for ParaView by doxygen 1.3.5