OpenTTD Source 20241224-master-gf74b0cf984
|
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 868 of file window_gui.h.
typedef size_t Window::WindowIterator< TtoBack >::difference_type |
Definition at line 872 of file window_gui.h.
typedef std::forward_iterator_tag Window::WindowIterator< TtoBack >::iterator_category |
Definition at line 873 of file window_gui.h.
typedef value_type* Window::WindowIterator< TtoBack >::pointer |
Definition at line 870 of file window_gui.h.
typedef value_type& Window::WindowIterator< TtoBack >::reference |
Definition at line 871 of file window_gui.h.
typedef Window* Window::WindowIterator< TtoBack >::value_type |
Definition at line 869 of file window_gui.h.
|
inlineexplicit |
Definition at line 875 of file window_gui.h.
|
inlineexplicit |
Definition at line 879 of file window_gui.h.
|
inline |
Definition at line 886 of file window_gui.h.
|
inlineprivate |
Definition at line 894 of file window_gui.h.
|
inline |
Definition at line 882 of file window_gui.h.
|
inline |
Definition at line 883 of file window_gui.h.
|
inline |
Definition at line 884 of file window_gui.h.
|
inline |
Definition at line 881 of file window_gui.h.
|
inlineprivate |
Definition at line 890 of file window_gui.h.
|
private |
Definition at line 889 of file window_gui.h.