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

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

template<typename T>
class ai::config_value_translator< T >

Definition at line 35 of file value_translator.hpp.

Member Function Documentation

◆ cfg_to_value() [1/2]

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

◆ cfg_to_value() [2/2]

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

◆ value_to_cfg() [1/2]

template<typename T >
static config ai::config_value_translator< T >::value_to_cfg ( const T &  value)
inlinestatic

◆ value_to_cfg() [2/2]

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

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