The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Classes | Functions
callable_objects.cpp File Reference
#include "formula/callable_objects.hpp"
#include "formula/function.hpp"
#include "units/unit.hpp"
#include "units/formula_manager.hpp"
#include "config.hpp"
Include dependency graph for callable_objects.cpp:

Go to the source code of this file.

Classes

class  fai_variant_visitor
 

Functions

template<typename T , typename K >
variant convert_map (const std::map< T, K > &input_map)
 
template<typename T >
variant convert_vector (const std::vector< T > &input_vector)
 

Function Documentation

template<typename T , typename K >
variant convert_map ( const std::map< T, K > &  input_map)

Definition at line 22 of file callable_objects.cpp.

References i.

Referenced by unit_callable::get_value().

template<typename T >
variant convert_vector ( const std::vector< T > &  input_vector)

Definition at line 34 of file callable_objects.cpp.

References i.