|
Gromacs
2026.0-dev-20251110-920b6d1
|
Inheritance diagram for gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString:
Collaboration diagram for gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString:Wraps markup output into a single string.
Public Member Functions | |
| WrapperToString (const TextLineWrapperSettings &settings) | |
| Creates a wrapper with the given settings. | |
| TextLineWrapperSettings & | settings () override |
| Provides the wrapping settings. More... | |
| void | wrap (const std::string &text) override |
| Appends the given string to output. | |
| const std::string & | result () const |
| Returns the result string. | |
|
inlineoverridevirtual |
Provides the wrapping settings.
HelpWriterContext::Impl::processMarkup() may provide some default values for the settings if they are not set; this is the reason the return value is not const.
Implements gmx::anonymous_namespace{helpwritercontext.cpp}::IWrapper.
1.8.5