The Battle for Wesnoth  1.15.13+dev
Static Public Member Functions | List of all members
ai::variant_value_translator< terrain_filter > Class Template Reference

#include <value_translator.hpp>

Static Public Member Functions

static void variant_to_value (const wfl::variant &, terrain_filter &)
 
static void value_to_variant (const terrain_filter &, wfl::variant &)
 
static wfl::variant value_to_variant (const terrain_filter &value)
 
static terrain_filter variant_to_value (const wfl::variant &var)
 

Detailed Description

template<>
class ai::variant_value_translator< terrain_filter >

Definition at line 430 of file value_translator.hpp.

Member Function Documentation

◆ value_to_variant() [1/2]

static void ai::variant_value_translator< terrain_filter >::value_to_variant ( const terrain_filter ,
wfl::variant  
)
inlinestatic

Definition at line 438 of file value_translator.hpp.

◆ value_to_variant() [2/2]

static wfl::variant ai::variant_value_translator< terrain_filter >::value_to_variant ( const terrain_filter value)
inlinestatic

Definition at line 443 of file value_translator.hpp.

◆ variant_to_value() [1/2]

static void ai::variant_value_translator< terrain_filter >::variant_to_value ( const wfl::variant ,
terrain_filter  
)
inlinestatic

Definition at line 433 of file value_translator.hpp.

◆ variant_to_value() [2/2]

static terrain_filter ai::variant_value_translator< terrain_filter >::variant_to_value ( const wfl::variant var)
inlinestatic

Definition at line 450 of file value_translator.hpp.

References c, and resources::filter_con.


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