The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Private Attributes | List of all members
variable_info_implementation::get_variable_index_visitor< V > Class Template Reference

Appends an [index] to the variable. More...

#include <variable_info_private.hpp>

Inheritance diagram for variable_info_implementation::get_variable_index_visitor< V >:

Public Member Functions

 get_variable_index_visitor (int n)
 
void from_named (typename get_variable_index_visitor::param_t state) const
 

Private Attributes

const int n_
 

Additional Inherited Members

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

Detailed Description

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

Appends an [index] to the variable.

We only support from_named since [index][index2] or a.length[index] both don't make sense.

Definition at line 174 of file variable_info_private.hpp.

Constructor & Destructor Documentation

◆ get_variable_index_visitor()

Definition at line 177 of file variable_info_private.hpp.

Member Function Documentation

◆ from_named()

template<typename V >
void variable_info_implementation::get_variable_index_visitor< V >::from_named ( typename get_variable_index_visitor< V >::param_t  state) const
inline

Member Data Documentation

◆ n_

template<typename V >
const int variable_info_implementation::get_variable_index_visitor< V >::n_
private

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