|
OpenTTD Source 20261112-master-gbcbec5e63f
|
Iterator to iterate all valid Windows. More...
#include <window_gui.h>
Public Types | |
| typedef Window * | value_type |
| typedef value_type * | pointer |
| typedef value_type & | reference |
| typedef size_t | difference_type |
| typedef std::forward_iterator_tag | iterator_category |
Public Member Functions | |
| WindowIterator (WindowList::iterator start) | |
| WindowIterator (const Window *w) | |
| bool | operator== (const WindowIterator &other) const |
| Window * | operator* () const |
| WindowIterator & | operator++ () |
| bool | IsEnd () const |
Private Member Functions | |
| void | Validate () |
| void | Next () |
Private Attributes | |
| WindowList::iterator | it |
Iterator to iterate all valid Windows.
| TtoBack | whether we iterate towards the back. |
Definition at line 901 of file window_gui.h.
| typedef size_t Window::WindowIterator< TtoBack >::difference_type |
Definition at line 905 of file window_gui.h.
| typedef std::forward_iterator_tag Window::WindowIterator< TtoBack >::iterator_category |
Definition at line 906 of file window_gui.h.
| typedef value_type* Window::WindowIterator< TtoBack >::pointer |
Definition at line 903 of file window_gui.h.
| typedef value_type& Window::WindowIterator< TtoBack >::reference |
Definition at line 904 of file window_gui.h.
| typedef Window* Window::WindowIterator< TtoBack >::value_type |
Definition at line 902 of file window_gui.h.
|
inlineexplicit |
Definition at line 908 of file window_gui.h.
|
inlineexplicit |
Definition at line 912 of file window_gui.h.
|
inline |
Definition at line 918 of file window_gui.h.
|
inlineprivate |
Definition at line 926 of file window_gui.h.
|
inline |
Definition at line 915 of file window_gui.h.
|
inline |
Definition at line 916 of file window_gui.h.
|
inline |
Definition at line 914 of file window_gui.h.
|
inlineprivate |
Definition at line 922 of file window_gui.h.
|
private |
Definition at line 921 of file window_gui.h.