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

vtkCompositeDataIterator Class Reference

#include <vtkCompositeDataIterator.h>

Inheritance diagram for vtkCompositeDataIterator:

Inheritance graph
[legend]
Collaboration diagram for vtkCompositeDataIterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

abstract superclass for composite data iterators

vtkCompositeDataIterator provides an interface for accessing datasets in a collection (vtkCompositeDataIterator). Sub-classes provide the actual implementation.

Created by:
  • Bertel, Francois
CVS contributions (if > 5%):
  • Bertel, Francois (100%)
CVS logs (CVSweb):
  • .cxx (/Filtering/vtkCompositeDataIterator.cxx)
  • .h (/Filtering/vtkCompositeDataIterator.h)
Examples:
vtkCompositeDataIterator (Examples)
Tests:
vtkCompositeDataIterator (Tests)

Definition at line 46 of file vtkCompositeDataIterator.h.

Public Types

typedef vtkObject Superclass

Public Member Functions

virtual const char * GetClassName ()
virtual int IsA (const char *type)
void PrintSelf (ostream &os, vtkIndent indent)
void InitTraversal ()
virtual void GoToFirstItem ()=0
virtual void GoToNextItem ()=0
virtual int IsDoneWithTraversal ()=0
virtual vtkDataObjectGetCurrentDataObject ()=0

Static Public Member Functions

int IsTypeOf (const char *type)
vtkCompositeDataIteratorSafeDownCast (vtkObject *o)

Protected Member Functions

 vtkCompositeDataIterator ()
virtual ~vtkCompositeDataIterator ()


Member Typedef Documentation

typedef vtkObject vtkCompositeDataIterator::Superclass
 

Reimplemented from vtkObject.

Reimplemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

Definition at line 49 of file vtkCompositeDataIterator.h.


Constructor & Destructor Documentation

vtkCompositeDataIterator::vtkCompositeDataIterator  )  [protected]
 

virtual vtkCompositeDataIterator::~vtkCompositeDataIterator  )  [protected, virtual]
 


Member Function Documentation

virtual const char* vtkCompositeDataIterator::GetClassName  )  [virtual]
 

Reimplemented from vtkObject.

Reimplemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

int vtkCompositeDataIterator::IsTypeOf const char *  type  )  [static]
 

Return 1 if this class type is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

virtual int vtkCompositeDataIterator::IsA const char *  type  )  [virtual]
 

Return 1 if this class is the same type of (or a subclass of) the named class. Returns 0 otherwise. This method works in combination with vtkTypeRevisionMacro found in vtkSetGet.h.

Reimplemented from vtkObject.

Reimplemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

vtkCompositeDataIterator* vtkCompositeDataIterator::SafeDownCast vtkObject o  )  [static]
 

Reimplemented from vtkObject.

Reimplemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

void vtkCompositeDataIterator::PrintSelf ostream &  os,
vtkIndent  indent
[virtual]
 

Methods invoked by print to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from vtkObject.

Reimplemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

void vtkCompositeDataIterator::InitTraversal  )  [inline]
 

Move the iterator to the beginning of the collection.

Definition at line 53 of file vtkCompositeDataIterator.h.

virtual void vtkCompositeDataIterator::GoToFirstItem  )  [pure virtual]
 

Move the iterator to the beginning of the collection.

Implemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

virtual void vtkCompositeDataIterator::GoToNextItem  )  [pure virtual]
 

Move the iterator to the next item in the collection.

Implemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

virtual int vtkCompositeDataIterator::IsDoneWithTraversal  )  [pure virtual]
 

Test whether the iterator is currently pointing to a valid item. Returns 1 for yes, 0 for no.

Implemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.

virtual vtkDataObject* vtkCompositeDataIterator::GetCurrentDataObject  )  [pure virtual]
 

Get the current item. Valid only when IsDoneWithTraversal() returns 1.

Implemented in vtkHierarchicalDataIterator, and vtkMultiBlockDataIterator.


The documentation for this class was generated from the following file: