Iterator(3)

Iterator3

Marks a position in a data structure

Usage

#include <Unidraw/iterator.h>

Overview

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.

Public operations

Iterator()
Iterator(Iterator&)

Construct a new iterator. The second constructor initializes the iterator's value to that of the given iterator.

virtual void SetValue(void*)
virtual void* GetValue()

Classes that use an iterator must store position information in it. These operations set and get the this information.

Releases

Unchanged in 2 releases since Debian 2.2 (Potato).

  1. 2.2–3.1

From ivtools-dev 1.1.3-4 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.