Public Member Functions | Private Member Functions | Private Attributes

game_logic::recruit_callable Class Reference

#include <callable_objects.hpp>

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

List of all members.

Public Member Functions

 recruit_callable (const map_location &loc, const std::string &type)
const map_locationloc () const
const std::string & type () 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 type_

Detailed Description

Definition at line 148 of file callable_objects.hpp.


Constructor & Destructor Documentation

game_logic::recruit_callable::recruit_callable ( const map_location loc,
const std::string &  type 
) [inline]

Definition at line 156 of file callable_objects.hpp.


Member Function Documentation

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

Reimplemented from game_logic::formula_callable.

Definition at line 244 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

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

Implements game_logic::formula_callable.

Definition at line 236 of file callable_objects.cpp.

References loc_, and type_.

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

Definition at line 160 of file callable_objects.hpp.

References loc_.

const std::string& game_logic::recruit_callable::type (  )  const [inline]

Definition at line 161 of file callable_objects.hpp.

References type_.


Member Data Documentation

Definition at line 149 of file callable_objects.hpp.

Referenced by get_value(), and loc().

std::string game_logic::recruit_callable::type_ [private]

Reimplemented from game_logic::formula_callable.

Definition at line 150 of file callable_objects.hpp.

Referenced by get_value(), and type().


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