Public Member Functions | Private Types | Private Member Functions | Private Attributes

game_logic::move_map_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for game_logic::move_map_callable:
Inheritance graph
[legend]
Collaboration diagram for game_logic::move_map_callable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 move_map_callable (const move_map &srcdst, const move_map &dstsrc, const unit_map &units)
const move_mapsrcdst () const
const move_mapdstsrc () 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_mapsrcdst_
const move_mapdstsrc_
const unit_mapunits_

Detailed Description

Definition at line 248 of file callable_objects.hpp.


Member Typedef Documentation

Definition at line 249 of file callable_objects.hpp.


Constructor & Destructor Documentation

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_.


Member Function Documentation

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_.

Here is the call graph for this function:

const move_map& game_logic::move_map_callable::srcdst (  )  const [inline]

Definition at line 263 of file callable_objects.hpp.

References srcdst_.


Member Data Documentation

Definition at line 251 of file callable_objects.hpp.

Referenced by dstsrc().

Definition at line 250 of file callable_objects.hpp.

Referenced by get_value(), and srcdst().

Definition at line 252 of file callable_objects.hpp.

Referenced by get_value().


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:49 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs