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

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

Definition at line 311 of file value_translator.hpp.

Member Function Documentation

◆ value_to_variant() [1/2]

static wfl::variant ai::variant_value_translator< int >::value_to_variant ( const int &  value)

◆ value_to_variant() [2/2]

static void ai::variant_value_translator< int >::value_to_variant ( const int &  value,
wfl::variant var 

Definition at line 319 of file value_translator.hpp.

◆ variant_to_value() [1/2]

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

◆ variant_to_value() [2/2]

static void ai::variant_value_translator< int >::variant_to_value ( const wfl::variant var,
int &  value 

Definition at line 314 of file value_translator.hpp.

References wfl::variant::as_int().

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