DOKK / manpages / debian 12 / ivtools-dev / Iterator.3u.en
Iterator(3U) InterViews Reference Manual Iterator(3U)

Iterator - marks a position in a data structure

#include <Unidraw/iterator.h>

An iterator marks a position in a data structure, generally during a traversal of some sort. For example, an iterator keeps track of the current position when iterating through a list of elements. Unidraw's Iterator class serves this purpose in conjunction with ULists or objects that use them.

Construct a new iterator. The second constructor initializes the iterator's value to that of the given iterator.
Classes that use an iterator must store position information in it. These operations set and get the this information.

UList(3U)

11 June 1990 Unidraw