The Battle for Wesnoth  1.19.0+dev
Public Types | Public Member Functions | Private Attributes | List of all members
variable_info_implementation::replace_range_h Class Reference

Replaces the child in [startindex, endindex) with 'source' 'insert' and 'append' are subcases of this. More...

#include <variable_info_private.hpp>

Inheritance diagram for variable_info_implementation::replace_range_h:

Public Types

typedef config::child_itors result_t

Public Member Functions

 replace_range_h (std::vector< config > &source)
result_t operator() (config &child, const std::string &key, int startindex, int endindex) const

Private Attributes

std::vector< config > & datasource_

Detailed Description

Replaces the child in [startindex, endindex) with 'source' 'insert' and 'append' are subcases of this.

Definition at line 391 of file variable_info_private.hpp.

Member Typedef Documentation

◆ result_t

Definition at line 394 of file variable_info_private.hpp.

Constructor & Destructor Documentation

◆ replace_range_h()

variable_info_implementation::replace_range_h::replace_range_h ( std::vector< config > &  source)

Definition at line 395 of file variable_info_private.hpp.

Member Function Documentation

◆ operator()()

result_t variable_info_implementation::replace_range_h::operator() ( config child,
const std::string &  key,
int  startindex,
int  endindex 
) const

Member Data Documentation

◆ datasource_

std::vector<config>& variable_info_implementation::replace_range_h::datasource_

Definition at line 431 of file variable_info_private.hpp.

Referenced by operator()().

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