The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Private Attributes | List of all members
game_filter_value< T, member, OP > Class Template Reference

#include <data.hpp>

Inheritance diagram for game_filter_value< T, member, OP >:
Inheritance graph

Public Member Functions

 game_filter_value (const T &value)
 
bool match (const game_info &game) const
 
- Public Member Functions inherited from game_filter_base
virtual ~game_filter_base ()
 
bool operator() (const game_info &game) const
 

Private Attributes

T game_info::* member_
 
value_
 

Detailed Description

template<class T, T game_info::* member, class OP = std::equal_to<T>>
class game_filter_value< T, member, OP >

Definition at line 245 of file data.hpp.

Constructor & Destructor Documentation

template<class T , T game_info::* member, class OP = std::equal_to<T>>
game_filter_value< T, member, OP >::game_filter_value ( const T &  value)
inlineexplicit

Definition at line 248 of file data.hpp.

Member Function Documentation

template<class T , T game_info::* member, class OP = std::equal_to<T>>
bool game_filter_value< T, member, OP >::match ( const game_info game) const
inlinevirtual

Member Data Documentation

template<class T , T game_info::* member, class OP = std::equal_to<T>>
T game_info::* game_filter_value< T, member, OP >::member_
private

Definition at line 258 of file data.hpp.

Referenced by game_filter_value< T, member, OP >::match().

template<class T , T game_info::* member, class OP = std::equal_to<T>>
T game_filter_value< T, member, OP >::value_
private

Definition at line 259 of file data.hpp.

Referenced by game_filter_value< T, member, OP >::match().


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