#include <terrain_translation.hpp>
Public Member Functions | |
t_match () | |
t_match (const std::string &str, const t_layer filler=NO_LAYER) | |
t_match (const t_terrain &tcode) | |
Public Attributes | |
t_list | terrain |
t_list | mask |
t_list | masked_terrain |
bool | has_wildcard |
bool | is_empty |
It optimized for strings that need to be matched often, and caches the wildcard info required for matching.
Definition at line 76 of file terrain_translation.hpp.
t_translation::t_match::t_match | ( | ) |
Definition at line 146 of file terrain_translation.cpp.
Definition at line 154 of file terrain_translation.cpp.
References t_translation::get_mask_(), mask, and masked_terrain.
t_translation::t_match::t_match | ( | const t_terrain & | tcode | ) |
Definition at line 171 of file terrain_translation.cpp.
References t_translation::get_mask_(), mask, and masked_terrain.
Definition at line 81 of file terrain_translation.hpp.
Referenced by terrain_builder::add_constraints(), and t_translation::terrain_matches().
Definition at line 82 of file terrain_translation.hpp.
Referenced by t_match(), and t_translation::terrain_matches().
Definition at line 83 of file terrain_translation.hpp.
Referenced by t_match(), and t_translation::terrain_matches().
Definition at line 84 of file terrain_translation.hpp.
Referenced by t_translation::has_wildcard(), and t_translation::terrain_matches().
Definition at line 85 of file terrain_translation.hpp.
Referenced by terrain_filter::match_internal(), t_translation::terrain_matches(), and terrain_builder::terrain_matches().
Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |