Theoretica
A C++ numerical and automatic mathematical library
|
Global settings of printing results to standard output. More...
#include <output.h>
Public Types | |
using | OutputFormat_t = std::function< std::string(const std::vector< std::vector< std::string > > &, const std::vector< std::string > &, const output_settings &)> |
Public Attributes | |
std::map< std::string, std::string > | fieldNames {} |
Map of field name to output string (e.g. More... | |
std::map< std::string, field_options > | fieldOptions {} |
Options for the different fields. | |
std::vector< std::string > | outputFiles {} |
A list of output files. | |
std::map< std::string, std::ofstream > | openFiles {} |
A map of open output files, by filename. | |
unsigned int | defaultColumnWidth = CHEBYSHEV_OUTPUT_WIDTH |
Default width for a field. | |
unsigned int | outputPrecision = 1 |
The number of digits to show in scientific notation. | |
OutputFormat_t | outputFormat {} |
The output format to use to print to standard output. | |
OutputFormat_t | defaultFileOutputFormat {} |
The default output format to use for files, when no format has been set for a file. | |
std::map< std::string, OutputFormat_t > | fileOutputFormat {} |
The output format to use for a specific file, by filename. | |
bool | quiet = false |
Whether to output to standard output. | |
bool | wasSetup = false |
Whether the output module was setup. | |
Global settings of printing results to standard output.
std::map<std::string, std::string> chebyshev::output::output_settings::fieldNames {} |
Map of field name to output string (e.g.
"maxErr" -> "Max Err.").