The Battle for Wesnoth  1.19.7+dev
Static Public Member Functions | List of all members
variable_info_implementation::vi_policy_const Class Reference

The variable_info policy classes. More...

#include <variable_info_detail.hpp>

Static Public Member Functions

static const configget_child_at (const config &cfg, const std::string &key, int index)
 
static std::string error_message (const std::string &name)
 

Detailed Description

The variable_info policy classes.

Each of these classes describes a different behavior for reading data from a variable and should implement two functions:

Definition at line 38 of file variable_info_detail.hpp.

Member Function Documentation

◆ error_message()

static std::string variable_info_implementation::vi_policy_const::error_message ( const std::string &  name)
inlinestatic

Definition at line 53 of file variable_info_detail.hpp.

◆ get_child_at()

static const config& variable_info_implementation::vi_policy_const::get_child_at ( const config cfg,
const std::string &  key,
int  index 
)
inlinestatic

Definition at line 41 of file variable_info_detail.hpp.

References utf8::index(), and config::optional_child().


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