Public Member Functions | Private Types | Private Member Functions | Static Private Attributes

wesnothd::banned_compare_subnet Struct Reference

#include <ban.hpp>

List of all members.

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 43 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 47 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 56 of file ban.cpp.

References active_.

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

Definition at line 51 of file ban.cpp.


Member Data Documentation

banned_compare_subnet::compare_fn wesnothd::banned_compare_subnet::active_ = &banned_compare_subnet::less [static, private]

Definition at line 48 of file ban.hpp.

Referenced by less().


The documentation for this struct was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated by doxygen 1.7.1 on Fri May 25 2012 01:26:16 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs