Public Member Functions | Private Member Functions | Private Attributes

game_logic::recall_callable Class Reference

#include <callable_objects.hpp>

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

List of all members.

Public Member Functions

 recall_callable (const map_location &loc, const std::string &id)
const map_locationloc () const
const std::string & id () 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

map_location loc_
std::string id_

Detailed Description

Definition at line 131 of file callable_objects.hpp.


Constructor & Destructor Documentation

game_logic::recall_callable::recall_callable ( const map_location loc,
const std::string &  id 
) [inline]

Definition at line 139 of file callable_objects.hpp.


Member Function Documentation

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

Reimplemented from game_logic::formula_callable.

Definition at line 229 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

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

Implements game_logic::formula_callable.

Definition at line 221 of file callable_objects.cpp.

References id_, and loc_.

const std::string& game_logic::recall_callable::id (  )  const [inline]

Definition at line 144 of file callable_objects.hpp.

References id_.

const map_location& game_logic::recall_callable::loc (  )  const [inline]

Definition at line 143 of file callable_objects.hpp.

References loc_.


Member Data Documentation

std::string game_logic::recall_callable::id_ [private]

Definition at line 133 of file callable_objects.hpp.

Referenced by get_value(), and id().

Definition at line 132 of file callable_objects.hpp.

Referenced by get_value(), and loc().


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:48 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs