The Battle for Wesnoth  1.15.3+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 281 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

Definition at line 289 of file value_translator.hpp.

◆ value_to_variant() [2/2]

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

Definition at line 294 of file value_translator.hpp.

◆ variant_to_value() [1/2]

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

Definition at line 284 of file value_translator.hpp.

◆ variant_to_value() [2/2]

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

Definition at line 301 of file value_translator.hpp.


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