#include <gromacs/commandline/cmdlinehelpwriter.h>
Writes help information for Options in ascii format.
gmx::CommandLineHelpWriter::CommandLineHelpWriter |
( |
const Options & |
options | ) |
|
|
explicit |
Creates an object that writer ascii-formatted help for Options.
- Parameters
-
[in] | options | Options for which help should be printed. |
Sets the list of known bugs/limitations.
- Parameters
-
[in] | bugs | Array of bugs/limitations. |
Each entry in the input array identifies a separate issue. The array passed should remain valid for the lifetime of the writer object.
Sets time unit to show in descriptions.
- Parameters
-
[in] | timeUnit | Time unit to show in descriptions. |
- Exceptions
-
std::bad_alloc | if out of memory. |
For each time parameter, any "%t" in the description is replaced with timeunit
. If not called, uses a default "ps".
Writes the help.
- Parameters
-
[in] | context | Context object for writing the help. |
- Exceptions
-
std::bad_alloc | if out of memory. |
FileIOError | on any I/O error. |
The documentation for this class was generated from the following files: