The Battle for Wesnoth  1.19.5+dev
Static Public Member Functions | List of all members
ai::variant_value_translator< std::string > Class Reference

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

Definition at line 369 of file value_translator.hpp.

Member Function Documentation

◆ value_to_variant() [1/2]

static wfl::variant ai::variant_value_translator< std::string >::value_to_variant ( const std::string &  value)
inlinestatic

◆ value_to_variant() [2/2]

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

Definition at line 377 of file value_translator.hpp.

◆ variant_to_value() [1/2]

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

◆ variant_to_value() [2/2]

static void ai::variant_value_translator< std::string >::variant_to_value ( const wfl::variant var,
std::string &  value 
)
inlinestatic

Definition at line 372 of file value_translator.hpp.

References wfl::variant::as_string().


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