Gromacs  2018.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
gmx::HelpWriterContext::Impl::SharedState Class Reference
+ Collaboration diagram for gmx::HelpWriterContext::Impl::SharedState:

Description

Shared, non-modifiable state for context objects.

Contents of this structure are shared between all context objects that are created from a common parent. This state should not be modified after construction.

Public Member Functions

 SharedState (TextWriter *writer, HelpOutputFormat format, const HelpLinks *links)
 Initializes the state with the given parameters.
 
TextTableFormatterconsoleOptionsFormatter () const
 Returns a formatter for formatting options lists for console output. More...
 

Public Attributes

TextWriterfile_
 Writer for writing the help.
 
HelpOutputFormat format_
 Output format for the help output.
 
const HelpLinkslinks_
 Links to use.
 

Member Function Documentation

TextTableFormatter& gmx::HelpWriterContext::Impl::SharedState::consoleOptionsFormatter ( ) const
inline

Returns a formatter for formatting options lists for console output.

The formatter is lazily initialized on first access.


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