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

vtkObjectBaseSetIterator Class Reference

#include <vtkObjectBaseSetIterator.h>

Inheritance diagram for vtkObjectBaseSetIterator:

Inheritance graph
[legend]
Collaboration diagram for vtkObjectBaseSetIterator:

Collaboration graph
[legend]
List of all members.

Detailed Description

An iterator for vtkObjectBaseSet subclasses.

See also:
vtkObjectBaseSet

Definition at line 31 of file vtkObjectBaseSetIterator.h.

Public Member Functions

 vtkTypeRevisionMacro (vtkObjectBaseSetIterator, vtkIterator)
Data Access Methods
vtkObjectBaseGetObject (void) const
 Retrieve the data from the iterator.

int SetObject (vtkObjectBase *object)
 Cannot assign data at the iterator's position for sets.

Traversal Methods
int InitTraversal (void)
 Initialize traversal of the container.

int Increment (void)
 Increment the iterator to the next location.

int Decrement (void)
 Decrement the iterator to the previous location.


Static Public Member Functions

vtkObjectBaseSetIteratorNew (void)

Protected Member Functions

 vtkObjectBaseSetIterator (void)
 ~vtkObjectBaseSetIterator ()


Constructor & Destructor Documentation

vtkObjectBaseSetIterator::vtkObjectBaseSetIterator void   )  [protected]
 

vtkObjectBaseSetIterator::~vtkObjectBaseSetIterator  )  [protected]
 


Member Function Documentation

int vtkObjectBaseSetIterator::Decrement void   )  [virtual]
 

Decrement the iterator to the previous location.

Returns:
false if the container is empty, the iterator is at the start of the container, or this iterator has not been initialized to traverse any container, otherwise true.

Implements vtkIterator.

vtkObjectBase* vtkObjectBaseSetIterator::GetObject void   )  const [virtual]
 

Retrieve the data from the iterator.

Returns:
The object if retrieved correctly, otherwise null.

Reimplemented from vtkIterator.

Reimplemented in vtkExtensionsObjectSetIterator, and vtkObjectSetIterator.

int vtkObjectBaseSetIterator::Increment void   )  [virtual]
 

Increment the iterator to the next location.

Returns:
false if the container is empty, the iterator is at the end of the container, or this iterator has not been initialized to traverse any container, otherwise true.

Implements vtkIterator.

int vtkObjectBaseSetIterator::InitTraversal void   )  [virtual]
 

Initialize traversal of the container.

Sets the iterator to the "beginning" of the container.

Returns:
false if the container is empty or this iterator has not been initialized to traverse any container, otherwise true.

Implements vtkIterator.

vtkObjectBaseSetIterator* vtkObjectBaseSetIterator::New void   )  [static]
 

Reimplemented from vtkExtensionsObject.

Reimplemented in vtkExtensionsObjectSetIterator, and vtkObjectSetIterator.

int vtkObjectBaseSetIterator::SetObject vtkObjectBase object  )  [virtual]
 

Cannot assign data at the iterator's position for sets.

Returns:
false since set elements are not assignable from iterators.

Implements vtkIterator.

vtkObjectBaseSetIterator::vtkTypeRevisionMacro vtkObjectBaseSetIterator  ,
vtkIterator 
 


The documentation for this class was generated from the following file:
Generated on Tue Aug 10 03:42:44 2004 for vtkExtensions by doxygen 1.3.7