The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
gui2::iteration::policy::order::top_down< VW, VG, VC > Class Template Reference

#include <policy_order.hpp>

Inheritance diagram for gui2::iteration::policy::order::top_down< VW, VG, VC >:

Public Member Functions

 top_down (widget &root)
 
 ~top_down ()
 
bool at_end () const
 
bool next ()
 
widgetoperator* ()
 

Private Types

typedef visit_level< VW, walker_base::selfvisit_widget
 
typedef visit_level< VG, walker_base::internalvisit_grid
 
typedef visit_level< VC, walker_base::childvisit_child
 

Private Member Functions

bool up ()
 

Private Attributes

iteration::walker_ptr root_
 
std::vector< iteration::walker_ptrstack_
 

Detailed Description

template<bool VW, bool VG, bool VC>
class gui2::iteration::policy::order::top_down< VW, VG, VC >

Definition at line 180 of file policy_order.hpp.

Member Typedef Documentation

◆ visit_child

template<bool VW, bool VG, bool VC>
typedef visit_level<VC, walker_base::child> gui2::iteration::policy::order::top_down< VW, VG, VC >::visit_child
private

Definition at line 186 of file policy_order.hpp.

◆ visit_grid

template<bool VW, bool VG, bool VC>
typedef visit_level<VG, walker_base::internal> gui2::iteration::policy::order::top_down< VW, VG, VC >::visit_grid
private

Definition at line 185 of file policy_order.hpp.

◆ visit_widget

template<bool VW, bool VG, bool VC>
typedef visit_level<VW, walker_base::self> gui2::iteration::policy::order::top_down< VW, VG, VC >::visit_widget
private

Definition at line 184 of file policy_order.hpp.

Constructor & Destructor Documentation

◆ top_down()

template<bool VW, bool VG, bool VC>
gui2::iteration::policy::order::top_down< VW, VG, VC >::top_down ( widget root)
inlineexplicit

Definition at line 189 of file policy_order.hpp.

◆ ~top_down()

template<bool VW, bool VG, bool VC>
gui2::iteration::policy::order::top_down< VW, VG, VC >::~top_down ( )
inline

Definition at line 193 of file policy_order.hpp.

Member Function Documentation

◆ at_end()

template<bool VW, bool VG, bool VC>
bool gui2::iteration::policy::order::top_down< VW, VG, VC >::at_end ( ) const
inline

◆ next()

template<bool VW, bool VG, bool VC>
bool gui2::iteration::policy::order::top_down< VW, VG, VC >::next ( )
inline

◆ operator*()

template<bool VW, bool VG, bool VC>
widget& gui2::iteration::policy::order::top_down< VW, VG, VC >::operator* ( )
inline

◆ up()

template<bool VW, bool VG, bool VC>
bool gui2::iteration::policy::order::top_down< VW, VG, VC >::up ( )
inlineprivate

Member Data Documentation

◆ root_

template<bool VW, bool VG, bool VC>
iteration::walker_ptr gui2::iteration::policy::order::top_down< VW, VG, VC >::root_
private

◆ stack_

template<bool VW, bool VG, bool VC>
std::vector<iteration::walker_ptr> gui2::iteration::policy::order::top_down< VW, VG, VC >::stack_
private

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