#include <prtqueue.h>
Public Member Functions | |
Iterator () | |
virtual | ~Iterator () |
virtual bool | hasNext (void) |
virtual DataType | next (void) throw (OutOfBoundsException) |
virtual void | reset (void) |
seal::PriorityQueue
. seal::PriorityQueue< PrtType, DataType >::Iterator::Iterator | ( | void | ) | [inline] |
Default constructor.
virtual seal::PriorityQueue< PrtType, DataType >::Iterator::~Iterator | ( | ) | [inline, virtual] |
Destructor.
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 >.
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 >.
virtual void seal::PriorityQueue< PrtType, DataType >::Iterator::reset | ( | void | ) | [inline, virtual] |
Resets the iterator to the begining of the queue.
Implements seal::AbstractIterator< DataType >.