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 Types | Private Member Functions | Static Private Attributes | List of all members
wesnothd::banned_compare_subnet Struct Reference

#include <ban.hpp>

Public Member Functions

bool operator() (const banned_ptr &a, const banned_ptr &b) const
 

Private Types

typedef bool(banned_compare_subnet::* compare_fn )(const banned_ptr &a, const banned_ptr &b) const
 

Private Member Functions

bool less (const banned_ptr &a, const banned_ptr &b) const
 

Static Private Attributes

static compare_fn active_ = &banned_compare_subnet::less
 

Detailed Description

Definition at line 42 of file ban.hpp.

Member Typedef Documentation

typedef bool(banned_compare_subnet::* wesnothd::banned_compare_subnet::compare_fn)(const banned_ptr &a, const banned_ptr &b) const
private

Definition at line 46 of file ban.hpp.

Member Function Documentation

bool wesnothd::banned_compare_subnet::less ( const banned_ptr a,
const banned_ptr b 
) const
private

Definition at line 58 of file ban.cpp.

bool wesnothd::banned_compare_subnet::operator() ( const banned_ptr a,
const banned_ptr b 
) const

Definition at line 53 of file ban.cpp.

References active_.

Member Data Documentation

banned_compare_subnet::compare_fn wesnothd::banned_compare_subnet::active_ = &banned_compare_subnet::less
staticprivate

Definition at line 47 of file ban.hpp.

Referenced by operator()().


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