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

The text displayed in a topic. More...

#include <help_impl.hpp>

Public Member Functions

 ~topic_text ()
 
 topic_text ()
 
 topic_text (std::string const &t)
 
 topic_text (topic_generator *g)
 
topic_textoperator= (topic_generator *g)
 
 topic_text (topic_text const &t)
 
const std::vector< std::string > & parsed_text () const
 

Private Attributes

std::vector< std::stringparsed_text_
 
topic_generatorgenerator_
 

Detailed Description

The text displayed in a topic.

It is generated on the fly with the information contained in generator_.

Definition at line 81 of file help_impl.hpp.

Constructor & Destructor Documentation

help::topic_text::~topic_text ( )

Definition at line 326 of file help_impl.cpp.

References help::topic_generator::count, and generator_.

help::topic_text::topic_text ( )
inline

Definition at line 87 of file help_impl.hpp.

help::topic_text::topic_text ( std::string const &  t)
inline

Definition at line 93 of file help_impl.hpp.

help::topic_text::topic_text ( topic_generator g)
inlineexplicit

Definition at line 99 of file help_impl.hpp.

help::topic_text::topic_text ( topic_text const &  t)

Definition at line 332 of file help_impl.cpp.

References help::topic_generator::count, and generator_.

Member Function Documentation

topic_text & help::topic_text::operator= ( topic_generator g)

Definition at line 338 of file help_impl.cpp.

References help::topic_generator::count, g, and generator_.

const std::vector< std::string > & help::topic_text::parsed_text ( ) const

Member Data Documentation

topic_generator* help::topic_text::generator_
mutableprivate

Definition at line 84 of file help_impl.hpp.

Referenced by operator=(), parsed_text(), topic_text(), and ~topic_text().

std::vector< std::string > help::topic_text::parsed_text_
mutableprivate

Definition at line 83 of file help_impl.hpp.

Referenced by parsed_text().


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