#include <callable_objects.hpp>


Public Member Functions | |
| move_map_callable (const move_map &srcdst, const move_map &dstsrc, const unit_map &units) | |
| const move_map & | srcdst () const |
| const move_map & | dstsrc () const |
Private Types | |
| typedef std::multimap < map_location, map_location > | move_map |
Private Member Functions | |
| variant | get_value (const std::string &key) const |
| void | get_inputs (std::vector< game_logic::formula_input > *inputs) const |
Private Attributes | |
| const move_map & | srcdst_ |
| const move_map & | dstsrc_ |
| const unit_map & | units_ |
Definition at line 248 of file callable_objects.hpp.
typedef std::multimap<map_location, map_location> game_logic::move_map_callable::move_map [private] |
Definition at line 249 of file callable_objects.hpp.
| game_logic::move_map_callable::move_map_callable | ( | const move_map & | srcdst, | |
| const move_map & | dstsrc, | |||
| const unit_map & | units | |||
| ) | [inline] |
Definition at line 257 of file callable_objects.hpp.
References game_logic::formula_callable::type_.
| const move_map& game_logic::move_map_callable::dstsrc | ( | ) | const [inline] |
Definition at line 264 of file callable_objects.hpp.
References dstsrc_.
| void game_logic::move_map_callable::get_inputs | ( | std::vector< game_logic::formula_input > * | inputs | ) | const [private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 43 of file callable_objects.cpp.
References game_logic::FORMULA_READ_ONLY.
| variant game_logic::move_map_callable::get_value | ( | const std::string & | key | ) | const [private, virtual] |
Implements game_logic::formula_callable.
Definition at line 23 of file callable_objects.cpp.
References unit_map::count(), srcdst_, and units_.

| const move_map& game_logic::move_map_callable::srcdst | ( | ) | const [inline] |
Definition at line 263 of file callable_objects.hpp.
References srcdst_.
const move_map& game_logic::move_map_callable::dstsrc_ [private] |
Definition at line 251 of file callable_objects.hpp.
Referenced by dstsrc().
const move_map& game_logic::move_map_callable::srcdst_ [private] |
Definition at line 250 of file callable_objects.hpp.
Referenced by get_value(), and srcdst().
const unit_map& game_logic::move_map_callable::units_ [private] |
Definition at line 252 of file callable_objects.hpp.
Referenced by get_value().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:49 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |