The Battle for Wesnoth  1.15.0-dev
Public Member Functions | Public Attributes | List of all members
gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper Struct Reference

Public Member Functions

 calculate_order_helper (const order_func &order_func, const child_list &items)
 
bool operator() (std::size_t a, std::size_t b)
 

Public Attributes

const order_funcorder_func_
 
const child_listitems_
 

Detailed Description

template<class minimum_selection, class maximum_selection, class my_placement, class select_action>
struct gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper

Definition at line 980 of file generator_private.hpp.

Constructor & Destructor Documentation

◆ calculate_order_helper()

template<class minimum_selection , class maximum_selection , class my_placement , class select_action >
gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper::calculate_order_helper ( const order_func order_func,
const child_list items 
)
inline

Definition at line 985 of file generator_private.hpp.

Member Function Documentation

◆ operator()()

template<class minimum_selection , class maximum_selection , class my_placement , class select_action >
bool gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper::operator() ( std::size_t  a,
std::size_t  b 
)
inline

Definition at line 991 of file generator_private.hpp.

Member Data Documentation

◆ items_

template<class minimum_selection , class maximum_selection , class my_placement , class select_action >
const child_list& gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper::items_

Definition at line 983 of file generator_private.hpp.

◆ order_func_

template<class minimum_selection , class maximum_selection , class my_placement , class select_action >
const order_func& gui2::generator< minimum_selection, maximum_selection, my_placement, select_action >::calculate_order_helper::order_func_

Definition at line 982 of file generator_private.hpp.


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