Chebyshev
Unit testing for scientific software
Loading...
Searching...
No Matches
output.h File Reference

The output module, with formatting capabilities. More...

#include <vector>
#include <string>
#include <map>
#include <sstream>
#include <iomanip>
#include <fstream>
#include "../prec/prec_structures.h"
#include "../benchmark/benchmark_structures.h"
#include "../err/err_structures.h"

Go to the source code of this file.

Classes

class  chebyshev::output::field_options
 Custom options for printing a certain field. More...
 
class  chebyshev::output::output_settings
 Global settings of printing results to standard output. More...
 
class  chebyshev::output::output_context
 module context. More...
 

Namespaces

namespace  chebyshev
 General namespace of the framework.
 
namespace  chebyshev::output
 Functions to manage printing results.
 
namespace  chebyshev::output::format
 Output formatting functions.
 

Typedefs

using chebyshev::output::OutputFormat = output_settings::OutputFormat_t
 A function which converts the table entries of a row to a string to print (e.g.
 

Functions

OutputFormat chebyshev::output::format::barebone ()
 Bare bone output format which just prints the result table as is, without any formatting beyond adjusting column width.
 
OutputFormat chebyshev::output::format::simple ()
 Simple output format which prints the fields separated by the separator string and padding, if enabled.
 
OutputFormat chebyshev::output::format::fancy (bool adaptiveWidth=true)
 Fancy output format which uses Unicode characters to print a continuous outline around the table.
 
OutputFormat chebyshev::output::format::csv (const std::string &separator=",")
 Format function for CSV format files.
 
OutputFormat chebyshev::output::format::markdown ()
 Format the table as Markdown.
 
OutputFormat chebyshev::output::format::latex ()
 Format the table as a LaTeX table in the tabular environment.
 

Detailed Description

The output module, with formatting capabilities.