3.4.1.6 Iterators

Iterators are access methods to query data from Wafer container objects. A Wafer container is an object that holds one or more sub elements. The (top-level) Wafer object itself is such a container since it contains all objects that comprise the Wafer. All iterators in the WAFER-STATE-SERVER use the same iteration scheme. An iterator expects a reference to an unsigned integer variable. This variable must be initialized to 0 before the first call of the iterator and must not be changed afterwards. The iterator returns a handle of the logically next object or indicates the end of an iteration.

According to the logical contents of a persistent Wafer (Fig. 2.1) there are iterators over the points, over the segments and over the boundaries of a Wafer.

2003-03-27