logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

Iterator - marks a position in a data structure

Description

       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.

Name

       Iterator - marks a position in a data structure

Public Operations

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

       virtualvoidSetValue(void*)virtualvoid*GetValue()
              Classes that use an iterator must store position information in it.  These operations set and  get
              the this information.

See Also

UList(3U)

Unidraw                                           11 June 1990                                      Iterator(3U)

Synopsis

#include<Unidraw/iterator.h>

See Also