The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
unit_filter_abstract_impl Class Referenceabstract

#include <filter.hpp>

Inheritance diagram for unit_filter_abstract_impl:
Inheritance graph

Public Member Functions

virtual bool matches (const unit &u, const map_location &loc, const unit *u2=nullptr) const =0
 
virtual std::vector< const unit * > all_matches_on_map (unsigned max_matches) const =0
 
virtual unit_const_ptr first_match_on_map () const =0
 
virtual config to_config () const =0
 
virtual bool empty () const
 
virtual ~unit_filter_abstract_impl ()
 

Detailed Description

Definition at line 40 of file filter.hpp.

Constructor & Destructor Documentation

virtual unit_filter_abstract_impl::~unit_filter_abstract_impl ( )
inlinevirtual

Definition at line 47 of file filter.hpp.

Member Function Documentation

virtual std::vector<const unit*> unit_filter_abstract_impl::all_matches_on_map ( unsigned  max_matches) const
pure virtual
virtual bool unit_filter_abstract_impl::empty ( ) const
inlinevirtual

Reimplemented in null_unit_filter_impl.

Definition at line 46 of file filter.hpp.

Referenced by basic_unit_filter_impl::internal_matches_filter().

virtual unit_const_ptr unit_filter_abstract_impl::first_match_on_map ( ) const
pure virtual
virtual bool unit_filter_abstract_impl::matches ( const unit u,
const map_location loc,
const unit u2 = nullptr 
) const
pure virtual
virtual config unit_filter_abstract_impl::to_config ( ) const
pure virtual

The documentation for this class was generated from the following file: