seal::PriorityQueue< PrtType, DataType >::Iterator Class Reference

#include <prtqueue.h>

Inheritance diagram for seal::PriorityQueue< PrtType, DataType >::Iterator:

seal::AbstractIterator< DataType >

List of all members.

Public Member Functions

 Iterator ()
virtual ~Iterator ()
virtual bool hasNext (void)
virtual DataType next (void) throw (OutOfBoundsException)
virtual void reset (void)


Detailed Description

template<typename PrtType, typename DataType>
class seal::PriorityQueue< PrtType, DataType >::Iterator

This class encapsulates an iterator class for the collection class seal::PriorityQueue.

Constructor & Destructor Documentation

template<typename PrtType, typename DataType>
seal::PriorityQueue< PrtType, DataType >::Iterator::Iterator ( void   )  [inline]

Default constructor.

template<typename PrtType, typename DataType>
virtual seal::PriorityQueue< PrtType, DataType >::Iterator::~Iterator (  )  [inline, virtual]

Destructor.


Member Function Documentation

template<typename PrtType, typename DataType>
virtual bool seal::PriorityQueue< PrtType, DataType >::Iterator::hasNext ( void   )  [inline, virtual]

Returns true if the iterator can iterate to a next element in the queue. The iteration occurs in the order of priority.

Implements seal::AbstractIterator< DataType >.

template<typename PrtType, typename DataType>
DataType seal::PriorityQueue< PrtType, DataType >::Iterator::next ( void   )  throw (OutOfBoundsException) [inline, virtual]

The iterator iterates to the next element in the queue and returns its value.

Implements seal::AbstractIterator< DataType >.

template<typename PrtType, typename DataType>
virtual void seal::PriorityQueue< PrtType, DataType >::Iterator::reset ( void   )  [inline, virtual]

Resets the iterator to the begining of the queue.

Implements seal::AbstractIterator< DataType >.


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