TUV-x
|
An abstract iterator. More...
Public Member Functions | |
procedure(next), deferred | next |
Advances the iterator. | |
procedure(reset), deferred | reset |
Resets the iterator to the beginning of the collection. | |
An abstract iterator.
Extending types should provide a constructor that returns a pointer to a iterator_t that references a newly allocated iterator of the extending type. The iterator must be in the state it would be in after a call to reset
.
Example usage: