Public Member Functions | Private Attributes

unit_type_callable Class Reference

#include <callable_objects.hpp>

Inheritance diagram for unit_type_callable:
Inheritance graph
[legend]
Collaboration diagram for unit_type_callable:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 unit_type_callable (const unit_type &u)
const unit_typeget_unit_type () const
variant get_value (const std::string &key) const
void get_inputs (std::vector< game_logic::formula_input > *inputs) const
int do_compare (const formula_callable *callable) const

Private Attributes

const unit_typeu_

Detailed Description

Definition at line 171 of file callable_objects.hpp.


Constructor & Destructor Documentation

unit_type_callable::unit_type_callable ( const unit_type u  )  [inline]

Definition at line 173 of file callable_objects.hpp.

References game_logic::formula_callable::type_.


Member Function Documentation

int unit_type_callable::do_compare ( const formula_callable *  callable  )  const

Definition at line 343 of file callable_objects.cpp.

References unit_type::id(), and u_.

Here is the call graph for this function:

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

Reimplemented from game_logic::formula_callable.

Definition at line 326 of file callable_objects.cpp.

References game_logic::FORMULA_READ_ONLY.

const unit_type& unit_type_callable::get_unit_type (  )  const [inline]

Definition at line 179 of file callable_objects.hpp.

References u_.

variant unit_type_callable::get_value ( const std::string &  key  )  const [virtual]

Member Data Documentation

Definition at line 185 of file callable_objects.hpp.

Referenced by do_compare(), get_unit_type(), and 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:17:44 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs