#include <callable_objects.hpp>
Private Attributes | |
const config & | cfg_ |
Additional Inherited Members | |
Protected Types inherited from game_logic::formula_callable | |
enum | TYPE { FORMULA_C, TERRAIN_C, LOCATION_C, UNIT_TYPE_C, UNIT_C, ATTACK_TYPE_C, MOVE_PARTIAL_C, MOVE_C, ATTACK_C, MOVE_MAP_C } |
Protected Member Functions inherited from game_logic::formula_callable | |
virtual | ~formula_callable () |
virtual void | set_value (const std::string &key, const variant &value) |
virtual int | do_compare (const formula_callable *callable) const |
virtual void | serialize_to_string (std::string &) const |
Protected Member Functions inherited from reference_counted_object | |
void | turn_reference_counting_off () const |
Protected Attributes inherited from game_logic::formula_callable | |
TYPE | type_ |
Definition at line 189 of file callable_objects.hpp.
|
inline |
Definition at line 191 of file callable_objects.hpp.
Referenced by get_value().
int config_callable::do_compare | ( | const formula_callable * | callable | ) | const |
Definition at line 528 of file callable_objects.cpp.
References cfg_, get_config(), and config::hash().
|
inline |
|
virtual |
Reimplemented from game_logic::formula_callable.
Definition at line 516 of file callable_objects.cpp.
References config::attribute_range(), cfg_, game_logic::FORMULA_READ_ONLY, and game_logic::formula::id_chars.
|
virtual |
Implements game_logic::formula_callable.
Definition at line 478 of file callable_objects.cpp.
References config::all_children_range(), config::attribute_range(), gui2::build(), cfg_, config::child_range(), config_callable(), config::has_attribute(), and config::has_child().
|
private |
Definition at line 197 of file callable_objects.hpp.
Referenced by do_compare(), get_config(), get_inputs(), and get_value().