Gromacs
2025-dev-20241003-bd59e46
|
#include <gromacs/utility/include/gromacs/utility/binaryinformation.h>
Settings for printBinaryInformation().
This class is used to specify what printBinaryInformation() prints.
Public Member Functions | |
BinaryInformationSettings & | extendedInfo (bool bEnabled) |
Set whether to print information about build settings. | |
BinaryInformationSettings & | copyright (bool bEnabled) |
Set whether to print copyright and license information. | |
BinaryInformationSettings & | processId (bool bEnabled) |
Set whether to print the process ID. | |
BinaryInformationSettings & | generatedByHeader (bool bEnabled) |
Set whether to print a header line with "Generated by" text (for output files). | |
BinaryInformationSettings & | linePrefix (const char *prefix) |
Prefix each line with this string. | |
BinaryInformationSettings & | lineSuffix (const char *suffix) |
Suffix each line with this string. | |
Friends | |
void | printBinaryInformation (TextWriter *writer, const IProgramContext &programContext, const BinaryInformationSettings &settings) |
Needed to read the members without otherwise unnecessary accessors. More... | |
|
friend |
Needed to read the members without otherwise unnecessary accessors.
[out] | writer | Where to print the information. |
[in] | programContext | Program information object to use. |
[in] | settings | Specifies what to print. |
std::bad_alloc | if out of memory. |