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

#include <policy_order.hpp>

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

Public Member Functions

 bottom_up (widget &root)
 
 ~bottom_up ()
 
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 Attributes

iteration::walker_baseroot_
 
std::vector< iteration::walker_base * > stack_
 

Detailed Description

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

Definition at line 37 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::bottom_up< VW, VG, VC >::visit_child
private

Definition at line 43 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::bottom_up< VW, VG, VC >::visit_grid
private

Definition at line 42 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::bottom_up< VW, VG, VC >::visit_widget
private

Definition at line 41 of file policy_order.hpp.

Constructor & Destructor Documentation

◆ bottom_up()

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

◆ ~bottom_up()

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

Member Function Documentation

◆ at_end()

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

◆ next()

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

◆ operator*()

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

Member Data Documentation

◆ root_

template<bool VW, bool VG, bool VC>
iteration::walker_base* gui2::iteration::policy::order::bottom_up< VW, VG, VC >::root_
private

◆ stack_

template<bool VW, bool VG, bool VC>
std::vector<iteration::walker_base*> gui2::iteration::policy::order::bottom_up< VW, VG, VC >::stack_
private

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