Public Member Functions | Private Types | Private Member Functions | Private Attributes

help::unit_topic_generator Class Reference

Inheritance diagram for help::unit_topic_generator:
Inheritance graph
[legend]
Collaboration diagram for help::unit_topic_generator:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 unit_topic_generator (const unit_type &t)
virtual std::string operator() () const

Private Types

typedef std::pair< std::string,
unsigned > 
item

Private Member Functions

void push_header (std::vector< item > &row, char const *name) const

Private Attributes

const unit_typetype_

Detailed Description

Definition at line 1310 of file help.cpp.


Member Typedef Documentation

typedef std::pair< std::string, unsigned > help::unit_topic_generator::item [private]

Definition at line 1313 of file help.cpp.


Constructor & Destructor Documentation

help::unit_topic_generator::unit_topic_generator ( const unit_type t  )  [inline]

Definition at line 1318 of file help.cpp.


Member Function Documentation

virtual std::string help::unit_topic_generator::operator() (  )  const [inline, virtual]

Implements help::topic_generator.

Definition at line 1319 of file help.cpp.

References _, unit_type::abilities(), unit_type::adv_abilities(), unit_type::advances_from(), unit_type::advances_to(), unit_type::alignment(), unit_type::alignment_description(), unit_type::attacks(), unit_type::can_advance(), unit_type::cost(), unit_movement_type::damage_table(), unit_movement_type::defense_modifier(), help::description_type(), preferences::encountered_terrains(), help::escape(), unit_type::experience_needed(), unit_race::FEMALE, unit_type_data::find(), unit_type_data::find_race(), unit_type::flag_rgb(), t_translation::FOGGED, help::FULL_DESCRIPTION, unit_type::genders(), generate_table(), unit_type::get_gender_unit_type(), gamemap::get_terrain_info(), unit_type::hide_help(), unit_type::hitpoints(), terrain_type::id(), unit_type::id(), unit_type::image(), image_width(), lg::info, terrain_type::is_nonnull(), unit_type::jamming(), jump(), unit_type::level(), font::line_width(), unit_race::MALE, unit_type::movement(), unit_movement_type::movement_cost(), unit_type::movement_type(), terrain_type::name(), terrain_type::number(), t_translation::OFF_MAP_USER, pos, push_header(), push_tab_pair(), unit_type::race(), font::relative_size(), unit_type::small_profile(), string_table, gui2::terrain, type, type_, unit_type::type_name(), utils::unicode_en_dash, utils::unicode_figure_dash, utils::unicode_minus, terrain_type::union_type(), unit_type::unit_description(), unit_types, unit_type::vision(), and t_translation::VOID_TERRAIN.

Here is the call graph for this function:

void help::unit_topic_generator::push_header ( std::vector< item > &  row,
char const *  name 
) const [inline, private]

Definition at line 1314 of file help.cpp.

References bold(), and font::line_width().

Referenced by operator()().

Here is the call graph for this function:

Here is the caller graph for this function:


Member Data Documentation

Definition at line 1312 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:24 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs