Null unit filter is built when the input config is null. More...
Public Member Functions | |
null_unit_filter_impl (const filter_context &fc) | |
virtual bool | matches (const unit &, const map_location &, const unit *) const |
virtual std::vector< const unit * > | all_matches_on_map (unsigned max_matches) const |
virtual unit_const_ptr | first_match_on_map () const |
virtual | ~null_unit_filter_impl () |
config | to_config () const |
bool | empty () const |
![]() | |
virtual | ~unit_filter_abstract_impl () |
Private Attributes | |
const filter_context & | fc_ |
Null unit filter is built when the input config is null.
Definition at line 79 of file filter.cpp.
|
inline |
Definition at line 81 of file filter.cpp.
|
inlinevirtual |
Definition at line 102 of file filter.cpp.
|
inlinevirtual |
Implements unit_filter_abstract_impl.
Definition at line 85 of file filter.cpp.
References fc_, filter_context::get_disp_context(), and display_context::units().
|
inlinevirtual |
Reimplemented from unit_filter_abstract_impl.
Definition at line 108 of file filter.cpp.
|
inlinevirtual |
Implements unit_filter_abstract_impl.
Definition at line 97 of file filter.cpp.
References unit_map::begin(), fc_, filter_context::get_disp_context(), unit_map::iterator_base< iter_types >::get_shared_ptr(), and display_context::units().
|
inlinevirtual |
Implements unit_filter_abstract_impl.
Definition at line 82 of file filter.cpp.
|
inlinevirtual |
Implements unit_filter_abstract_impl.
Definition at line 104 of file filter.cpp.
|
private |
Definition at line 113 of file filter.cpp.
Referenced by all_matches_on_map(), and first_match_on_map().