The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | List of all members
game_filter_and_stack Class Reference

#include <data.hpp>

Inheritance diagram for game_filter_and_stack:
Inheritance graph

Public Member Functions

bool match (const game_info &game) const
 
- Public Member Functions inherited from game_filter_stack
 game_filter_stack ()
 
virtual ~game_filter_stack ()
 
void append (game_filter_base *f)
 Takes ownership. More...
 
void clear ()
 
bool empty () const
 
- Public Member Functions inherited from game_filter_base
virtual ~game_filter_base ()
 
bool operator() (const game_info &game) const
 

Additional Inherited Members

- Protected Attributes inherited from game_filter_stack
std::vector< game_filter_base * > filters_
 

Detailed Description

Definition at line 238 of file data.hpp.

Member Function Documentation

bool game_filter_and_stack::match ( const game_info game) const
virtual

Implements game_filter_base.

Definition at line 413 of file data.cpp.

References game_filter_stack::filters_.

Referenced by lobby_info::apply_game_filter().


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