#include <iterator.hh>
Public Member Functions | |
void | invalidate () |
Invalidate the iterator. | |
bool | is_valid () const |
Returns true if the iterator is valid, that is, designates an element. | |
void | next_ () |
Go to the next element. | |
void | start () |
Start an iteration. | |
Protected Member Functions | |
Iterator () |
Definition at line 36 of file doc/iterator.hh.
mln::doc::Iterator< E >::Iterator | ( | ) | [protected] |
void mln::doc::Iterator< E >::invalidate | ( | ) |
Invalidate the iterator.
bool mln::doc::Iterator< E >::is_valid | ( | ) | const |
Returns true if the iterator is valid, that is, designates an element.
void mln::doc::Iterator< E >::next_ | ( | ) |
Go to the next element.
Make the iterator jump from the current element to the next one. The current element is thus updated.
void mln::doc::Iterator< E >::start | ( | ) |
Start an iteration.
Make the iterator designate the first element if it exists. If this first element does not exist, the iterator is not valid.