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

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

template<typename T>
class ai::variant_value_translator< T >

Definition at line 282 of file value_translator.hpp.

Member Function Documentation

◆ value_to_variant() [1/2]

template<typename T >
static void ai::variant_value_translator< T >::value_to_variant ( const T &  ,
wfl::variant  
)
inlinestatic

◆ value_to_variant() [2/2]

template<typename T >
static wfl::variant ai::variant_value_translator< T >::value_to_variant ( const T &  value)
inlinestatic

◆ variant_to_value() [1/2]

template<typename T >
static void ai::variant_value_translator< T >::variant_to_value ( const wfl::variant ,
T &   
)
inlinestatic

◆ variant_to_value() [2/2]

template<typename T >
static T ai::variant_value_translator< T >::variant_to_value ( const wfl::variant var)
inlinestatic

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