OpenTTD Source 20250205-master-gfd85ab1e2c
|
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 |
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 861 of file window_gui.h.
typedef size_t Window::WindowIterator< TtoBack >::difference_type |
Definition at line 865 of file window_gui.h.
typedef std::forward_iterator_tag Window::WindowIterator< TtoBack >::iterator_category |
Definition at line 866 of file window_gui.h.
typedef value_type* Window::WindowIterator< TtoBack >::pointer |
Definition at line 863 of file window_gui.h.
typedef value_type& Window::WindowIterator< TtoBack >::reference |
Definition at line 864 of file window_gui.h.
typedef Window* Window::WindowIterator< TtoBack >::value_type |
Definition at line 862 of file window_gui.h.
|
inlineexplicit |
Definition at line 868 of file window_gui.h.
|
inlineexplicit |
Definition at line 872 of file window_gui.h.
|
inline |
Definition at line 879 of file window_gui.h.
|
inlineprivate |
Definition at line 887 of file window_gui.h.
|
inline |
Definition at line 875 of file window_gui.h.
|
inline |
Definition at line 876 of file window_gui.h.
|
inline |
Definition at line 877 of file window_gui.h.
|
inline |
Definition at line 874 of file window_gui.h.
|
inlineprivate |
Definition at line 883 of file window_gui.h.
|
private |
Definition at line 882 of file window_gui.h.