Elm  2
ELM is a library providing generic data structures, OS-independent interface, plugins and XML.
Iterator Class Reference

Detailed Description

This class is used for implementing the iterators. It is declared usually as embedded and receive a pointer to an IteratorInst. When the iteration is ended, that is, when this class is destructed, it free the matching IteratorInst object.


for(Iterator<type_of_item *> iter(pointer_to_IteratorInst); iter; iter++)
        use_of_(iter);

The iterator may replace any value of the type of its generic type by automatic conversion.


The documentation for this class was generated from the following file: