#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) |
Definition at line 35 of file value_translator.hpp.
|
inlinestatic |
Definition at line 38 of file value_translator.hpp.
Referenced by ai::config_value_translator< T >::cfg_to_value(), ai::config_value_translator< bool >::cfg_to_value(), ai::config_value_translator< std::vector< std::string > >::cfg_to_value(), ai::config_value_translator< terrain_filter >::cfg_to_value(), and ai::config_value_translator< unit_advancements_aspect >::cfg_to_value().
|
inlinestatic |
Definition at line 43 of file value_translator.hpp.
References ai::config_value_translator< T >::cfg_to_value().
|
inlinestatic |
Definition at line 48 of file value_translator.hpp.
References lexical_cast().
Referenced by ai::standard_aspect< config >::to_config(), ai::config_value_translator< T >::value_to_cfg(), ai::config_value_translator< bool >::value_to_cfg(), ai::config_value_translator< std::vector< std::string > >::value_to_cfg(), ai::config_value_translator< config >::value_to_cfg(), ai::config_value_translator< terrain_filter >::value_to_cfg(), and ai::config_value_translator< unit_advancements_aspect >::value_to_cfg().
|
inlinestatic |
Definition at line 53 of file value_translator.hpp.
References ai::config_value_translator< T >::value_to_cfg().