The Battle for Wesnoth  1.19.5+dev
Static Public Member Functions | List of all members
ai::config_value_translator< config > Class Reference

#include <value_translator.hpp>

Static Public Member Functions

static void cfg_to_value (const config &cfg, config &value)
 
static void value_to_cfg (const config &value, config &cfg)
 
static config value_to_cfg (const config &value)
 
static config cfg_to_value (const config &cfg)
 

Detailed Description

Definition at line 190 of file value_translator.hpp.

Member Function Documentation

◆ cfg_to_value() [1/2]

static config ai::config_value_translator< config >::cfg_to_value ( const config cfg)
inlinestatic

Definition at line 214 of file value_translator.hpp.

References config::child_or_empty().

◆ cfg_to_value() [2/2]

static void ai::config_value_translator< config >::cfg_to_value ( const config cfg,
config value 
)
inlinestatic

Definition at line 193 of file value_translator.hpp.

References config::clear(), and config::optional_child().

◆ value_to_cfg() [1/2]

static config ai::config_value_translator< config >::value_to_cfg ( const config value)
inlinestatic

◆ value_to_cfg() [2/2]

static void ai::config_value_translator< config >::value_to_cfg ( const config value,
config cfg 
)
inlinestatic

Definition at line 202 of file value_translator.hpp.

References config::add_child().


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