The Battle for Wesnoth  1.19.0-dev
Public Types | Public Member Functions | List of all members
variable_info_implementation::as_array_visitor< V > Class Template Reference

This currently isn't implemented as a range-based operation because doing it on something like range 2-5 on vi_policy_const if child_ has only 4 elements would be too hard to implement. More...

#include <variable_info_private.hpp>

Inheritance diagram for variable_info_implementation::as_array_visitor< V >:

Public Types

using result_t = typename as_array_visitor::result_t
 
using param_t = typename as_array_visitor::param_t
 
- Public Types inherited from variable_info_implementation::info_visitor_base< R, P >
using result_t = R
 
using param_t = P &
 

Public Member Functions

result_t from_named (param_t state) const
 
result_t from_indexed (param_t state) const
 
config::const_child_itors from_indexed (as_array_visitor::param_t state) const
 

Detailed Description

template<typename V>
class variable_info_implementation::as_array_visitor< V >

This currently isn't implemented as a range-based operation because doing it on something like range 2-5 on vi_policy_const if child_ has only 4 elements would be too hard to implement.

Definition at line 260 of file variable_info_private.hpp.

Member Typedef Documentation

◆ param_t

Definition at line 265 of file variable_info_private.hpp.

◆ result_t

Definition at line 264 of file variable_info_private.hpp.

Member Function Documentation

◆ from_indexed() [1/2]

◆ from_indexed() [2/2]

template<typename V >
result_t variable_info_implementation::as_array_visitor< V >::from_indexed ( param_t  state) const
inline

◆ from_named()

template<typename V >
result_t variable_info_implementation::as_array_visitor< V >::from_named ( param_t  state) const
inline

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