The Battle for Wesnoth  1.15.0-dev
Static Public Member Functions | List of all members
ai::config_value_translator< bool > Class Template Reference

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

template<>
class ai::config_value_translator< bool >

Definition at line 62 of file value_translator.hpp.

Member Function Documentation

◆ cfg_to_value() [1/2]

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

Definition at line 65 of file value_translator.hpp.

◆ cfg_to_value() [2/2]

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

◆ value_to_cfg() [1/2]

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

Definition at line 75 of file value_translator.hpp.

◆ value_to_cfg() [2/2]

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

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