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
help::has_id Class Reference

To be used as a function object to locate sections and topics with a specified ID. More...

#include <help_impl.hpp>

Public Member Functions

 has_id (const std::string &id)
 
bool operator() (const topic &t)
 
bool operator() (const section &s)
 
bool operator() (const section *s)
 

Private Attributes

const std::string id_
 

Detailed Description

To be used as a function object to locate sections and topics with a specified ID.

Definition at line 174 of file help_impl.hpp.

Constructor & Destructor Documentation

help::has_id::has_id ( const std::string id)
inline

Definition at line 177 of file help_impl.hpp.

Member Function Documentation

bool help::has_id::operator() ( const topic t)
inline

Definition at line 178 of file help_impl.hpp.

References help::topic::id, and id_.

bool help::has_id::operator() ( const section s)
inline

Definition at line 179 of file help_impl.hpp.

References help::section::id, and id_.

bool help::has_id::operator() ( const section s)
inline

Definition at line 180 of file help_impl.hpp.

References help::section::id, and id_.

Member Data Documentation

const std::string help::has_id::id_
private

Definition at line 182 of file help_impl.hpp.

Referenced by operator()().


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