Public Member Functions | Public Attributes

help::section Struct Reference

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

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

List of all members.

Public Member Functions

 section ()
 section (const section &)
sectionoperator= (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

Detailed Description

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

Definition at line 182 of file help.cpp.


Constructor & Destructor Documentation

help::section::section (  )  [inline]

Definition at line 183 of file help.cpp.

Referenced by add_section().

Here is the caller graph for this function:

help::section::section ( const section sec  ) 

Definition at line 1905 of file help.cpp.

References sections.

help::section::~section (  ) 

Definition at line 1900 of file help.cpp.

References sections.


Member Function Documentation

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().

Here is the call graph for this function:

Here is the caller graph for this function:

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().

Here is the caller graph for this function:

bool help::section::operator< ( const section sec  )  const

Comparison on the ID.

Definition at line 1933 of file help.cpp.

References id.

section & help::section::operator= ( const section sec  ) 

Definition at line 1916 of file help.cpp.

References id, level, sections, title, and topics.

bool help::section::operator== ( const section sec  )  const

Two sections are equal if their IDs are equal.

Definition at line 1928 of file help.cpp.

References id.


Member Data Documentation

std::string help::section::id

Definition at line 207 of file help.cpp.

Referenced by operator=(), help::parse_config_internal(), and help::help_menu::process().

std::string help::section::title

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

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