The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
ai::config_value_translator< config > Class Template 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

template<>
class ai::config_value_translator< config >

Definition at line 118 of file value_translator.hpp.

Member Function Documentation

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

Definition at line 121 of file value_translator.hpp.

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

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

Definition at line 142 of file value_translator.hpp.

References config::child_or_empty().

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

Definition at line 130 of file value_translator.hpp.

References config::add_child().

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

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