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

#include <array1d.h>

Inheritance diagram for seal::Array1D< 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::Array1D< T >::Iterator

This class encasulates an iterator for the Array1D class.

Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

Returns the next element in the array. Throws an OutOfBoundsException when an element beyond the limits of the array is requested.

Implements seal::AbstractIterator< T >.

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

Returns true if there exists a next element. Else, returns false.

Implements seal::AbstractIterator< T >.

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

Resets the iterator so that the next element is now the first element of the array.

Implements seal::AbstractIterator< T >.


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

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