Public Member Functions | Protected Member Functions | Protected Attributes

game_logic::candidate_action_with_filters Class Reference

#include <candidates.hpp>

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

List of all members.

Public Member Functions

 candidate_action_with_filters (const std::string &name, const std::string &type, const config &cfg, function_symbol_table *function_table)

Protected Member Functions

variant do_filtering (ai::formula_ai *ai, variant &input, game_logic::const_formula_ptr formula)

Protected Attributes

game_logic::candidate_action_filters filter_map_

Detailed Description

Definition at line 132 of file candidates.hpp.


Constructor & Destructor Documentation

game_logic::candidate_action_with_filters::candidate_action_with_filters ( const std::string &  name,
const std::string &  type,
const config cfg,
function_symbol_table function_table 
)

Definition at line 110 of file candidates.cpp.

References config::attribute_range(), config::child(), and filter_map_.

Here is the call graph for this function:


Member Function Documentation

variant game_logic::candidate_action_with_filters::do_filtering ( ai::formula_ai ai,
variant input,
game_logic::const_formula_ptr  formula 
) [protected]

Definition at line 129 of file candidates.cpp.

References game_logic::map_formula_callable::add(), reference_counted_object::add_ref(), and game_logic::base_candidate_action::evaluate().

Referenced by game_logic::attack_candidate_action::evaluate(), and game_logic::move_candidate_action::evaluate().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation


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