Public Member Functions | Private Attributes

help::has_id Class Reference

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

Collaboration diagram for help::has_id:
Collaboration graph
[legend]

List of all members.

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 213 of file help.cpp.


Constructor & Destructor Documentation

help::has_id::has_id ( const std::string &  id  )  [inline]

Definition at line 216 of file help.cpp.


Member Function Documentation

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

Definition at line 217 of file help.cpp.

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

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

Definition at line 219 of file help.cpp.

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

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

Definition at line 218 of file help.cpp.

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


Member Data Documentation

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

Definition at line 221 of file help.cpp.

Referenced by operator()().


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

Generated by doxygen 1.7.1 on Thu May 24 2012 01:24:19 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs