version 1.2, 2003/10/22 14:26:11
|
version 1.3, 2004/08/03 00:27:59
|
|
|
{ | { |
public: | public: |
/** | /** |
|
* Destroys the object. This is needed so that an object of a |
|
* subclass can be correctly destroyed thru an Iterator pointer. |
|
*/ |
|
virtual ~Iterator(); |
|
|
|
/** |
* Returns <tt>true</tt> if the iteration has more elements. (In other | * Returns <tt>true</tt> if the iteration has more elements. (In other |
* words, returns <tt>true</tt> if <tt>next</tt> would return an element | * words, returns <tt>true</tt> if <tt>next</tt> would return an element |
* rather than throwing an exception.) | * rather than throwing an exception.) |