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

vtkVectorIterator< DType > Class Template Reference

a templated vector list iterator More...

#include <vtkVectorIterator.h>

Inheritance diagram for vtkVectorIterator< DType >:

Inheritance graph
[legend]
Collaboration diagram for vtkVectorIterator< DType >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

int GetKey (vtkIdType &)
int GetData (DType &)
int SetData (const DType &)
void InitTraversal ()
int IsDoneWithTraversal ()
void GoToNextItem ()
void GoToPreviousItem ()
void GoToFirstItem ()
void GoToLastItem ()

Protected Member Functions

 vtkVectorIterator ()
virtual ~vtkVectorIterator ()

Static Protected Member Functions

vtkVectorIterator< DType > * New ()

Protected Attributes

vtkIdType Index

Friends

class vtkVector< DType >

Detailed Description

template<class DType>
class vtkVectorIterator< DType >

a templated vector list iterator

Definition at line 27 of file vtkVectorIterator.h.


Constructor & Destructor Documentation

template<class DType>
vtkVectorIterator< DType >::vtkVectorIterator  )  [inline, protected]
 

Definition at line 69 of file vtkVectorIterator.h.

template<class DType>
virtual vtkVectorIterator< DType >::~vtkVectorIterator  )  [inline, protected, virtual]
 

Definition at line 72 of file vtkVectorIterator.h.


Member Function Documentation

template<class DType>
int vtkVectorIterator< DType >::GetKey vtkIdType &   ) 
 

Retrieve the index of the element. This method returns VTK_OK if key was retrieved correctly.

template<class DType>
int vtkVectorIterator< DType >::GetData DType &   ) 
 

Retrieve the data from the iterator. This method returns VTK_OK if data were retrieved correctly.

template<class DType>
int vtkVectorIterator< DType >::SetData const DType &   ) 
 

Set the data at the iterator's position. This method returns VTK_OK if data were set correctly.

template<class DType>
void vtkVectorIterator< DType >::InitTraversal  ) 
 

Initialize the traversal of the container. Set the iterator to the "beginning" of the container.

template<class DType>
int vtkVectorIterator< DType >::IsDoneWithTraversal  ) 
 

Check if the iterator is at the end of the container. Returns 1 for yes and 0 for no.

template<class DType>
void vtkVectorIterator< DType >::GoToNextItem  ) 
 

Increment the iterator to the next location.

template<class DType>
void vtkVectorIterator< DType >::GoToPreviousItem  ) 
 

Decrement the iterator to the next location.

template<class DType>
void vtkVectorIterator< DType >::GoToFirstItem  ) 
 

Go to the first item of the list.

template<class DType>
void vtkVectorIterator< DType >::GoToLastItem  ) 
 

Go to the last item of the list.

template<class DType>
vtkVectorIterator<DType>* vtkVectorIterator< DType >::New  )  [static, protected]
 


Friends And Related Function Documentation

template<class DType>
friend class vtkVector< DType > [friend]
 

Definition at line 29 of file vtkVectorIterator.h.


Member Data Documentation

template<class DType>
vtkIdType vtkVectorIterator< DType >::Index [protected]
 

Definition at line 74 of file vtkVectorIterator.h.


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