#include <callable_objects.hpp>


Public Member Functions | |
| set_unit_var_callable (const std::string &key, const variant &value, const map_location &loc) | |
| const std::string & | key () const |
| variant | value () const |
| const map_location | loc () const |
Private Member Functions | |
| variant | get_value (const std::string &key) const |
| void | get_inputs (std::vector< game_logic::formula_input > *inputs) const |
Private Attributes | |
| std::string | key_ |
| variant | value_ |
| map_location | loc_ |
Definition at line 181 of file callable_objects.hpp.
| game_logic::set_unit_var_callable::set_unit_var_callable | ( | const std::string & | key, | |
| const variant & | value, | |||
| const map_location & | loc | |||
| ) | [inline] |
Definition at line 189 of file callable_objects.hpp.
| void game_logic::set_unit_var_callable::get_inputs | ( | std::vector< game_logic::formula_input > * | inputs | ) | const [private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 279 of file callable_objects.cpp.
References game_logic::FORMULA_READ_ONLY.
| variant game_logic::set_unit_var_callable::get_value | ( | const std::string & | key | ) | const [private, virtual] |
Implements game_logic::formula_callable.
Definition at line 266 of file callable_objects.cpp.
| const std::string& game_logic::set_unit_var_callable::key | ( | ) | const [inline] |
Definition at line 193 of file callable_objects.hpp.
References key_.
| const map_location game_logic::set_unit_var_callable::loc | ( | ) | const [inline] |
Definition at line 195 of file callable_objects.hpp.
References loc_.
| variant game_logic::set_unit_var_callable::value | ( | ) | const [inline] |
Definition at line 194 of file callable_objects.hpp.
References value_.
std::string game_logic::set_unit_var_callable::key_ [private] |
Definition at line 182 of file callable_objects.hpp.
Referenced by get_value(), and key().
Definition at line 184 of file callable_objects.hpp.
Referenced by get_value(), and loc().
Definition at line 183 of file callable_objects.hpp.
Referenced by get_value(), and value().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:48 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |