The Battle for Wesnoth  1.19.0-dev
Public Member Functions | List of all members
gui2::iteration::policy::visit::skip_level Class Reference

This policy skips the current level. More...

#include <policy_visit.hpp>

Inheritance diagram for gui2::iteration::policy::visit::skip_level:

Public Member Functions

walker_base::state_t next (walker_base &)
 Acts like walker_base::next for the level where the policy is used. More...
 
bool at_end (const walker_base &) const
 Acts like walker_base::at_end for the level where the policy is used. More...
 
gui2::widgetget (walker_base &)
 Acts like walker_base::get for the level where the policy is used. More...
 

Detailed Description

This policy skips the current level.

Definition at line 31 of file policy_visit.hpp.

Member Function Documentation

◆ at_end()

bool gui2::iteration::policy::visit::skip_level::at_end ( const walker_base ) const
inline

Acts like walker_base::at_end for the level where the policy is used.

Definition at line 45 of file policy_visit.hpp.

◆ get()

gui2::widget* gui2::iteration::policy::visit::skip_level::get ( walker_base )
inline

Acts like walker_base::get for the level where the policy is used.

Definition at line 53 of file policy_visit.hpp.

◆ next()

walker_base::state_t gui2::iteration::policy::visit::skip_level::next ( walker_base )
inline

Acts like walker_base::next for the level where the policy is used.

Definition at line 37 of file policy_visit.hpp.

References gui2::iteration::walker_base::fail.


The documentation for this class was generated from the following file: