64 template <walker_base::level level>
100 template <
bool, walker_base::level level>
106 template <walker_base::level level>
112 template <walker_base::level level>
This policy skips the current level.
gui2::widget * get(walker_base &)
Acts like walker_base::get for the level where the policy is used.
bool at_end(const walker_base &) const
Acts like walker_base::at_end for the level where the policy is used.
walker_base::state_t next(walker_base &)
Acts like walker_base::next for the level where the policy is used.
This policy tries to visit the current level.
walker_base::state_t next(walker_base &visitor)
Acts like walker_base::next for the level where the policy is used.
gui2::widget * get(walker_base &visitor)
Acts like walker_base::get for the level where the policy is used.
bool at_end(const walker_base &visitor) const
Acts like walker_base::at_end for the level where the policy is used.
Helper class to select to visit or skip a level.
The walker abstract base class.
virtual state_t next(const level level)=0
Make the next widget the current one.
state_t
The state of the walker.
virtual bool at_end(const level level) const =0
Returns whether the current widget is valid.
virtual gui2::widget * get(const level level)=0
Returns a pointer to the current widget.