The Battle for Wesnoth  1.19.0-dev
Public Member Functions | Public Attributes | List of all members
ng::create_engine::type_list Struct Reference

Public Member Functions

 type_list ()
void apply_filter (const int player_count, const std::string &name_filter)
void reset_filter ()

Public Attributes

std::vector< level_ptrgames
std::vector< std::size_t > games_filtered

Detailed Description

Definition at line 414 of file create_engine.hpp.

Constructor & Destructor Documentation

◆ type_list()

ng::create_engine::type_list::type_list ( )

Definition at line 416 of file create_engine.hpp.

Member Function Documentation

◆ apply_filter()

void ng::create_engine::type_list::apply_filter ( const int  player_count,
const std::string &  name_filter 

Definition at line 421 of file create_engine.hpp.

References ng::contains_ignore_case(), games, games_filtered, and i.

◆ reset_filter()

void ng::create_engine::type_list::reset_filter ( )

Definition at line 434 of file create_engine.hpp.

References games, and games_filtered.

Member Data Documentation

◆ games

std::vector<level_ptr> ng::create_engine::type_list::games

Definition at line 418 of file create_engine.hpp.

Referenced by apply_filter(), and reset_filter().

◆ games_filtered

std::vector<std::size_t> ng::create_engine::type_list::games_filtered

Definition at line 419 of file create_engine.hpp.

Referenced by apply_filter(), and reset_filter().

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