The Battle for Wesnoth  1.19.5+dev
Public Member Functions | Public Attributes | List of all members
terrain_filter::terrain_filter_cache Struct Reference

Public Member Functions

 terrain_filter_cache ()
 

Public Attributes

std::unique_ptr< t_translation::ter_matchparsed_terrain
 
std::unique_ptr< std::vector< std::set< map_location > > > adjacent_matches
 
std::vector< std::pair< terrain_filter, std::map< map_location, bool > > > adjacent_match_cache
 
std::unique_ptr< unit_filterufilter_
 

Detailed Description

Definition at line 90 of file filter.hpp.

Constructor & Destructor Documentation

◆ terrain_filter_cache()

terrain_filter::terrain_filter_cache::terrain_filter_cache ( )

Definition at line 88 of file filter.cpp.

Member Data Documentation

◆ adjacent_match_cache

std::vector< std::pair<terrain_filter, std::map<map_location,bool> > > terrain_filter::terrain_filter_cache::adjacent_match_cache

Definition at line 100 of file filter.hpp.

Referenced by terrain_filter::match_internal().

◆ adjacent_matches

std::unique_ptr<std::vector<std::set<map_location> > > terrain_filter::terrain_filter_cache::adjacent_matches

Definition at line 97 of file filter.hpp.

Referenced by terrain_filter::get_locs_impl(), and terrain_filter::match_internal().

◆ parsed_terrain

std::unique_ptr<t_translation::ter_match> terrain_filter::terrain_filter_cache::parsed_terrain

Definition at line 94 of file filter.hpp.

Referenced by terrain_filter::match_internal().

◆ ufilter_

std::unique_ptr<unit_filter> terrain_filter::terrain_filter_cache::ufilter_

Definition at line 102 of file filter.hpp.

Referenced by terrain_filter::match_internal().


The documentation for this struct was generated from the following files: