The text displayed in a topic. More...
#include <help_impl.hpp>
Public Member Functions | |
topic_text ()=default | |
~topic_text ()=default | |
topic_text (const std::string &t) | |
topic_text (std::shared_ptr< topic_generator > g) | |
topic_text (const topic_text &t)=default | |
topic_text (topic_text &&t)=default | |
topic_text & | operator= (topic_text &&t)=default |
topic_text & | operator= (const topic_text &t)=default |
topic_text & | operator= (std::shared_ptr< topic_generator > g) |
const config & | parsed_text () const |
Private Attributes | |
config | parsed_text_ |
std::shared_ptr< topic_generator > | generator_ |
The text displayed in a topic.
It is generated on the fly with the information contained in generator_
Definition at line 84 of file help_impl.hpp.
|
default |
|
default |
|
inline |
Definition at line 92 of file help_impl.hpp.
|
inlineexplicit |
Definition at line 98 of file help_impl.hpp.
|
default |
|
default |
|
default |
topic_text & help::topic_text::operator= | ( | std::shared_ptr< topic_generator > | g | ) |
Definition at line 374 of file help_impl.cpp.
References g, and generator_.
|
default |
const config & help::topic_text::parsed_text | ( | ) | const |
Definition at line 380 of file help_impl.cpp.
References generator_, markup::parse_text(), and parsed_text_.
Referenced by gui2::rich_label::set_label(), and gui2::rich_label::set_topic().
|
mutableprivate |
Definition at line 87 of file help_impl.hpp.
Referenced by operator=(), and parsed_text().
|
mutableprivate |
Definition at line 86 of file help_impl.hpp.
Referenced by parsed_text().