The iterator class. More...
#include <iterator.hpp>
Public Member Functions | |
iterator (const iterator &)=delete | |
iterator & | operator= (const iterator &)=delete |
iterator (widget &root) | |
Constructor. More... | |
bool | at_end () const |
Has the iterator reached the end? More... | |
bool | next () |
Visit the next widget. More... | |
iterator< order > & | operator++ () |
See next. More... | |
widget & | operator* () |
Returns the current widget. More... | |
widget * | operator-> () |
See operator*. More... | |
widget * | get () |
See operator*. More... | |
The iterator class.
See Iterator for more information.
Definition at line 36 of file iterator.hpp.
|
delete |
|
inline |
Constructor.
root | The widget where to start the iteration. |
Definition at line 47 of file iterator.hpp.
|
inline |
Has the iterator reached the end?
[true] | At the end. |
[false] | Not at the end. |
Definition at line 58 of file iterator.hpp.
Referenced by gui2::dialogs::select_orb_colors::setup_orb_group().
|
inline |
See operator*.
Definition at line 104 of file iterator.hpp.
References gui2::iteration::iterator< order >::operator->().
|
inline |
Visit the next widget.
A | range_error exception upon pre condition violation. |
Definition at line 75 of file iterator.hpp.
|
inline |
Returns the current widget.
Definition at line 92 of file iterator.hpp.
Referenced by gui2::iteration::iterator< order >::operator->().
|
inline |
See next.
Definition at line 81 of file iterator.hpp.
|
inline |
See operator*.
Definition at line 98 of file iterator.hpp.
References gui2::iteration::iterator< order >::operator*().
Referenced by gui2::iteration::iterator< order >::get().
|
delete |