The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
gui2::iterator::policy::visit::tvisit< level > Class Template Reference

This policy tries to visit the current level. More...

#include <policy_visit.hpp>

Inheritance diagram for gui2::iterator::policy::visit::tvisit< level >:
Inheritance graph

Public Member Functions

twalker_::tstate next (twalker_ &visitor)
 Acts like twalker_::next for the level where the policy is used. More...
 
bool at_end (const twalker_ &visitor) const
 Acts like twalker_::at_end for the level where the policy is used. More...
 
gui2::twidgetget (twalker_ &visitor)
 Acts like twalker_::get for the level where the policy is used. More...
 

Detailed Description

template<twalker_::tlevel level>
class gui2::iterator::policy::visit::tvisit< level >

This policy tries to visit the current level.

Template Parameters
levelThe level to visit.

Definition at line 71 of file policy_visit.hpp.

Member Function Documentation

template<twalker_::tlevel level>
bool gui2::iterator::policy::visit::tvisit< level >::at_end ( const twalker_ visitor) const
inline

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

Definition at line 85 of file policy_visit.hpp.

References gui2::iterator::twalker_::at_end().

template<twalker_::tlevel level>
gui2::twidget* gui2::iterator::policy::visit::tvisit< level >::get ( twalker_ visitor)
inline

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

Definition at line 93 of file policy_visit.hpp.

template<twalker_::tlevel level>
twalker_::tstate gui2::iterator::policy::visit::tvisit< level >::next ( twalker_ visitor)
inline

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

Definition at line 77 of file policy_visit.hpp.

References gui2::iterator::twalker_::next().


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