Gromacs
2018.8
|
Custom output interface for HelpWriterContext::Impl::processMarkup().
Provides an interface that is used to implement different types of output from HelpWriterContext::Impl::processMarkup().
Public Member Functions | |
virtual TextLineWrapperSettings & | settings ()=0 |
Provides the wrapping settings. More... | |
virtual void | wrap (const std::string &text)=0 |
Appends the given string to output. | |
|
pure virtual |
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.
Implemented in gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToVector, and gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString.