A section contains topics and sections along with title and ID. More...

Public Member Functions | |
| section () | |
| section (const section &) | |
| section & | operator= (const section &) |
| ~section () | |
| bool | operator== (const section &) const |
| Two sections are equal if their IDs are equal. | |
| bool | operator< (const section &) const |
| Comparison on the ID. | |
| void | add_section (const section &s) |
| Allocate memory for and add the section. | |
| void | clear () |
Public Attributes | |
| std::string | title |
| std::string | id |
| topic_list | topics |
| section_list | sections |
| int | level |
A section contains topics and sections along with title and ID.
Definition at line 182 of file help.cpp.
| help::section::section | ( | ) | [inline] |
Definition at line 183 of file help.cpp.
Referenced by add_section().

| help::section::section | ( | const section & | sec | ) |
| void help::section::add_section | ( | const section & | s | ) |
Allocate memory for and add the section.
Definition at line 1938 of file help.cpp.
References section(), and sections.
Referenced by help::generate_races_sections(), and help::parse_config_internal().


| void help::section::clear | ( | ) |
Definition at line 1943 of file help.cpp.
References sections, and topics.
Referenced by help::generate_contents(), and help::help_manager::~help_manager().

| bool help::section::operator< | ( | const section & | sec | ) | const |
| bool help::section::operator== | ( | const section & | sec | ) | const |
| std::string help::section::id |
Definition at line 204 of file help.cpp.
Referenced by help::help_menu::expand(), help::has_id::operator()(), operator<(), operator=(), operator==(), help::parse_config_internal(), and help::help_menu::process().
Definition at line 207 of file help.cpp.
Referenced by operator=(), help::parse_config_internal(), and help::help_menu::process().
Definition at line 206 of file help.cpp.
Referenced by add_section(), clear(), help::find_section(), help::find_topic(), help::generate_contents_links(), operator=(), help::parse_config_internal(), section(), help::help_menu::select_topic_internal(), help::help_menu::update_visible_items(), and ~section().
| std::string help::section::title |
Definition at line 204 of file help.cpp.
Referenced by help::help_menu::get_string_to_show(), help::section_less::operator()(), operator=(), and help::parse_config_internal().
Definition at line 205 of file help.cpp.
Referenced by clear(), help::find_topic(), operator=(), help::parse_config_internal(), help::help_menu::select_topic_internal(), and help::help_menu::update_visible_items().
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:23:48 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |