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< bool > Class Template Reference

#include <value_translator.hpp>

Static Public Member Functions

static void variant_to_value (const variant &var, bool &value)
 
static void value_to_variant (const bool &value, variant &var)
 
static variant value_to_variant (const bool &value)
 
static bool variant_to_value (const variant &var)
 

Detailed Description

template<>
class ai::variant_value_translator< bool >

Definition at line 271 of file value_translator.hpp.

Member Function Documentation

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

Definition at line 279 of file value_translator.hpp.

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

Definition at line 274 of file value_translator.hpp.

References variant::as_bool().

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

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