Gromacs  2018.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions
gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString Class Reference
+ Inheritance diagram for gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString:
+ Collaboration diagram for gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString:

Description

Wraps markup output into a single string.

Public Member Functions

 WrapperToString (const TextLineWrapperSettings &settings)
 Creates a wrapper with the given settings.
 
virtual TextLineWrapperSettingssettings ()
 Provides the wrapping settings. More...
 
virtual void wrap (const std::string &text)
 Appends the given string to output.
 
const std::string & result () const
 Returns the result string.
 

Member Function Documentation

virtual TextLineWrapperSettings& gmx::anonymous_namespace{helpwritercontext.cpp}::WrapperToString::settings ( )
inlinevirtual

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.


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