Public Member Functions

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
[legend]

List of all members.

Public Member Functions

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

Detailed Description

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

This policy tries to visit the current level.

Template Parameters:
level The level to visit.

Definition at line 60 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 75 of file policy_visit.hpp.

References gui2::iterator::twalker_::at_end(), and game_config::images::level.

Here is the call graph for this function:

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 83 of file policy_visit.hpp.

References game_config::images::level.

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 67 of file policy_visit.hpp.

References game_config::images::level, and gui2::iterator::twalker_::next().

Here is the call graph for this function:


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:13 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs