The Battle for Wesnoth  1.17.0-dev
Static Public Member Functions | List of all members
ai::variant_value_translator< attacks_vector > Class Template Reference

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

template<>
class ai::variant_value_translator< attacks_vector >

Definition at line 398 of file value_translator.hpp.

Member Function Documentation

◆ value_to_variant() [1/2]

static void ai::variant_value_translator< attacks_vector >::value_to_variant ( const attacks_vector value,
wfl::variant var 
)
inlinestatic

Definition at line 406 of file value_translator.hpp.

References i.

◆ value_to_variant() [2/2]

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

Definition at line 415 of file value_translator.hpp.

◆ variant_to_value() [1/2]

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

Definition at line 401 of file value_translator.hpp.

◆ variant_to_value() [2/2]

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

Definition at line 422 of file value_translator.hpp.


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