hexed 0.4.0
 
Loading...
Searching...
No Matches
hexed::Compound_printer Class Reference

Printer which is just a combination of other printers. More...

#include <Printer.hpp>

Inheritance diagram for hexed::Compound_printer:
hexed::Printer

Public Member Functions

 Compound_printer (std::vector< std::shared_ptr< Printer > >)
 
void operator() (std::string message, bool emph=false, bool replace=false) override
 

Public Attributes

std::vector< std::shared_ptr< Printer > > printers
 list of printers—feel free to modify
 

Detailed Description

Printer which is just a combination of other printers.

Anything you tell it to print will be forwarded to all of Compound_printer::printers

Member Function Documentation

◆ operator()()

void hexed::Compound_printer::operator() ( std::string message,
bool emph = false,
bool replace = false )
overridevirtual
Parameters
messagewhat you want to print
emphIf true, some form of emphasis formatting will be used, if possible.
replaceIf true, message will replace the current line of text on the screen, rather than be appended to it.

Implements hexed::Printer.


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