#include <callable_objects.hpp>


Public Member Functions | |
| outcome_callable (const std::vector< variant > &hitLeft, const std::vector< variant > &prob, const std::vector< variant > &status) | |
| const std::vector< variant > & | hitLeft () const |
| const std::vector< variant > & | prob () const |
| const std::vector< variant > & | status () 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 | |
| std::vector< variant > | hitLeft_ |
| std::vector< variant > | prob_ |
| std::vector< variant > | status_ |
Definition at line 299 of file callable_objects.hpp.
| game_logic::outcome_callable::outcome_callable | ( | const std::vector< variant > & | hitLeft, | |
| const std::vector< variant > & | prob, | |||
| const std::vector< variant > & | status | |||
| ) | [inline] |
Definition at line 305 of file callable_objects.hpp.
| void game_logic::outcome_callable::get_inputs | ( | std::vector< game_logic::formula_input > * | inputs | ) | const [private, virtual] |
Reimplemented from game_logic::formula_callable.
Definition at line 107 of file callable_objects.cpp.
References game_logic::FORMULA_READ_ONLY.
| variant game_logic::outcome_callable::get_value | ( | const std::string & | key | ) | const [private, virtual] |
Implements game_logic::formula_callable.
Definition at line 95 of file callable_objects.cpp.
| const std::vector<variant>& game_logic::outcome_callable::hitLeft | ( | ) | const [inline] |
Definition at line 312 of file callable_objects.hpp.
References hitLeft_.
| const std::vector<variant>& game_logic::outcome_callable::prob | ( | ) | const [inline] |
Definition at line 313 of file callable_objects.hpp.
References prob_.
| const std::vector<variant>& game_logic::outcome_callable::status | ( | ) | const [inline] |
Definition at line 314 of file callable_objects.hpp.
References status_.
std::vector<variant> game_logic::outcome_callable::hitLeft_ [private] |
Definition at line 300 of file callable_objects.hpp.
Referenced by get_value(), and hitLeft().
std::vector<variant> game_logic::outcome_callable::prob_ [private] |
Definition at line 300 of file callable_objects.hpp.
Referenced by get_value(), and prob().
std::vector<variant> game_logic::outcome_callable::status_ [private] |
Definition at line 300 of file callable_objects.hpp.
Referenced by get_value(), and status().
| Generated by doxygen 1.7.1 on Thu May 24 2012 01:20:49 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |