seal::Vector< T >::Iterator Class Reference

#include <vector.h>

Inheritance diagram for seal::Vector< T >::Iterator:

seal::AbstractIterator< T >

List of all members.

Public Member Functions

 Iterator (void)
virtual T next (void) throw (OutOfBoundsException)
virtual bool hasNext (void)
virtual void reset (void)


Detailed Description

template<typename T>
class seal::Vector< T >::Iterator

This class encapsulates an iterator for objects of class Vector.

Constructor & Destructor Documentation

template<typename T>
seal::Vector< T >::Iterator::Iterator ( void   )  [inline]

Default constructor.


Member Function Documentation

template<typename T>
T seal::Vector< T >::Iterator::next ( void   )  throw (OutOfBoundsException) [inline, virtual]

This function will return the next element to which the iterator iterates to. An OutOfBoundsException is thrown in case the user requests the iterator to iterate beyond the bounds of the corresponding vector object.

Implements seal::AbstractIterator< T >.

template<typename T>
bool seal::Vector< T >::Iterator::hasNext ( void   )  [inline, virtual]

This function will return true if the iterator can iterate to a next element of the corresponding vector. It will return false otherwise.

Implements seal::AbstractIterator< T >.

template<typename T>
void seal::Vector< T >::Iterator::reset ( void   )  [inline, virtual]

Resets the iterator to the first element in the vector. First element of the vector is the element with index 0.

Implements seal::AbstractIterator< T >.


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

Generated on Sat May 16 21:35:21 2009 for SEAL by  doxygen 1.5.5