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

#include <value_translator.hpp>

Static Public Member Functions

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

Detailed Description

template<>
class ai::variant_value_translator< int >

Definition at line 241 of file value_translator.hpp.

Member Function Documentation

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

Definition at line 249 of file value_translator.hpp.

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

Definition at line 244 of file value_translator.hpp.

References variant::as_int().

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

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