The Battle for Wesnoth  1.19.0-dev
Classes | Public Types | Static Public Member Functions | List of all members
terrain_filterimpl Class Reference

Classes

struct  no_filter
 
struct  no_start_set_yet
 

Public Types

using location_set = std::set< map_location >
 

Static Public Member Functions

template<typename T , typename F1 , typename F2 , typename F3 >
static void filter_final (T &&src, location_set &dest, const terrain_filter &, const F1 &f1, const F2 &f2, const F3 &f3)
 
template<typename T , typename F1 , typename F2 >
static void filter_special_loc (T &&src, location_set &dest, const terrain_filter &filter, const F1 &f1, const F2 &f2)
 
template<typename T , typename F1 >
static void filter_area (T &&src, location_set &dest, const terrain_filter &filter, const F1 &f1)
 
template<typename T >
static void filter_xy (T &&src, location_set &dest, const terrain_filter &filter, bool with_border)
 

Detailed Description

Definition at line 445 of file filter.cpp.

Member Typedef Documentation

◆ location_set

Definition at line 448 of file filter.cpp.

Member Function Documentation

◆ filter_area()

template<typename T , typename F1 >
static void terrain_filterimpl::filter_area ( T &&  src,
location_set dest,
const terrain_filter filter,
const F1 &  f1 
)
inlinestatic

Definition at line 484 of file filter.cpp.

Referenced by terrain_filter::get_locs_impl().

◆ filter_final()

template<typename T , typename F1 , typename F2 , typename F3 >
static void terrain_filterimpl::filter_final ( T &&  src,
location_set dest,
const terrain_filter ,
const F1 &  f1,
const F2 &  f2,
const F3 &  f3 
)
inlinestatic

Definition at line 456 of file filter.cpp.

◆ filter_special_loc()

template<typename T , typename F1 , typename F2 >
static void terrain_filterimpl::filter_special_loc ( T &&  src,
location_set dest,
const terrain_filter filter,
const F1 &  f1,
const F2 &  f2 
)
inlinestatic

Definition at line 466 of file filter.cpp.

References utils::split(), and map_location::valid().

Referenced by terrain_filter::get_locs_impl().

◆ filter_xy()

template<typename T >
static void terrain_filterimpl::filter_xy ( T &&  src,
location_set dest,
const terrain_filter filter,
bool  with_border 
)
inlinestatic

Definition at line 496 of file filter.cpp.

Referenced by terrain_filter::get_locs_impl().


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