move_map_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for move_map_callable:

Inheritance graph
[legend]
Collaboration diagram for 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 move_mapsrcdst () const
const move_mapdstsrc () const

Private Types

typedef std::multimap
< gamemap::location,
gamemap::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_


Detailed Description

Definition at line 124 of file callable_objects.hpp.


Member Typedef Documentation

Definition at line 125 of file callable_objects.hpp.


Constructor & Destructor Documentation

move_map_callable::move_map_callable ( const move_map srcdst,
const move_map dstsrc 
) [inline]

Definition at line 132 of file callable_objects.hpp.


Member Function Documentation

variant move_map_callable::get_value ( const std::string &  key  )  const [private, virtual]

Implements game_logic::formula_callable.

Definition at line 55 of file callable_objects.cpp.

References srcdst_.

void move_map_callable::get_inputs ( std::vector< game_logic::formula_input > *  inputs  )  const [private, virtual]

Reimplemented from game_logic::formula_callable.

Definition at line 73 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

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

Definition at line 136 of file callable_objects.hpp.

References srcdst_.

const move_map& move_map_callable::dstsrc (  )  const [inline]

Definition at line 137 of file callable_objects.hpp.

References dstsrc_.


Member Data Documentation

Definition at line 126 of file callable_objects.hpp.

Referenced by get_value(), and srcdst().

Definition at line 127 of file callable_objects.hpp.

Referenced by dstsrc().


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs