help::has_id Class Reference

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

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


Constructor & Destructor Documentation

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

Definition at line 190 of file help.cpp.


Member Function Documentation

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

Definition at line 191 of file help.cpp.

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

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

Definition at line 192 of file help.cpp.

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

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

Definition at line 193 of file help.cpp.

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


Member Data Documentation

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

Definition at line 195 of file help.cpp.


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

Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs