The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Static Public Member Functions | List of all members
ai::variant_value_translator< std::string > Class Template Reference

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

template<>
class ai::variant_value_translator< std::string >

Definition at line 302 of file value_translator.hpp.

Member Function Documentation

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

Definition at line 310 of file value_translator.hpp.

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

Definition at line 305 of file value_translator.hpp.

References variant::as_string().

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

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