The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
help::help_menu::visible_item Struct Reference

Information about an item that is visible in the menu. More...

Public Member Functions

 visible_item (const section *_sec, const std::string &visible_string)
 
 visible_item (const topic *_t, const std::string &visible_string)
 
bool operator== (const visible_item &vis_item) const
 
bool operator== (const section &sec) const
 
bool operator== (const topic &t) const
 

Public Attributes

const topict
 
const sectionsec
 
std::string visible_string
 

Detailed Description

Information about an item that is visible in the menu.

Definition at line 48 of file help_menu.hpp.

Constructor & Destructor Documentation

help::help_menu::visible_item::visible_item ( const section _sec,
const std::string visible_string 
)

Definition at line 217 of file help_menu.cpp.

help::help_menu::visible_item::visible_item ( const topic _t,
const std::string visible_string 
)

Definition at line 220 of file help_menu.cpp.

Member Function Documentation

bool help::help_menu::visible_item::operator== ( const visible_item vis_item) const

Definition at line 233 of file help_menu.cpp.

References sec, and t.

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

Definition at line 223 of file help_menu.cpp.

bool help::help_menu::visible_item::operator== ( const topic t) const

Definition at line 228 of file help_menu.cpp.

Member Data Documentation

const section* help::help_menu::visible_item::sec

Definition at line 54 of file help_menu.hpp.

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

const topic* help::help_menu::visible_item::t

Definition at line 53 of file help_menu.hpp.

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

std::string help::help_menu::visible_item::visible_string

Definition at line 55 of file help_menu.hpp.


The documentation for this struct was generated from the following files: