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 std::vector< std::string > & | parsed_text () const |
Private Attributes | |
std::vector< std::string > | 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 82 of file help_impl.hpp.
|
default |
|
default |
|
inline |
Definition at line 90 of file help_impl.hpp.
|
inlineexplicit |
Definition at line 96 of file help_impl.hpp.
|
default |
|
default |
|
default |
topic_text & help::topic_text::operator= | ( | std::shared_ptr< topic_generator > | g | ) |
Definition at line 379 of file help_impl.cpp.
References g, and generator_.
|
default |
const std::vector< std::string > & help::topic_text::parsed_text | ( | ) | const |
Definition at line 385 of file help_impl.cpp.
References generator_, help::parse_text(), and parsed_text_.
Referenced by help::help_text_area::set_items().
|
mutableprivate |
Definition at line 85 of file help_impl.hpp.
Referenced by operator=(), and parsed_text().
|
mutableprivate |
Definition at line 84 of file help_impl.hpp.
Referenced by parsed_text().