hexed 0.3.0
 
Loading...
Searching...
No Matches
hexed::Printer_set Struct Reference

A complete set of printers that support messages with various purposes. More...

#include <Printer.hpp>

Public Member Functions

 Printer_set ()
 Constructs a Printer_set with printers initialized to standard output/error.
 

Public Attributes

Compound_printer info
 general information
 
Compound_printer warn
 (non-fatal) warnings
 
Compound_printer error
 (fatal) errors
 

Detailed Description

A complete set of printers that support messages with various purposes.

Constructor & Destructor Documentation

◆ Printer_set()

hexed::Printer_set::Printer_set ( )

Constructs a Printer_set with printers initialized to standard output/error.

You can later modify the individual printers. Specifically, the initial values are:

  • info is std::cout without any special formatting
  • warn is std::cerr with light yellow emphasis
  • error is std::cerr with bold red emphasis

The documentation for this struct was generated from the following files: