DiaDes  0.1
DIAgnosis of Discrete-Event System
Public Member Functions | List of all members
Diades::Automata::Experimental::StreamBasedPrinter< TypeToPrint > Class Template Reference

#include <Printer.hh>

Public Member Functions

virtual ostream & print (ostream &os, const TypeToPrint &object) const
 

Additional Inherited Members

- Public Types inherited from Diades::Automata::Experimental::Printer< TypeToPrint >
using Object = TypeToPrint
 

Detailed Description

template<typename TypeToPrint>
class Diades::Automata::Experimental::StreamBasedPrinter< TypeToPrint >

StreamBasedPrinter is a Printer that uses the operator << of Printer::Object to print.

Definition at line 56 of file Printer.hh.

Member Function Documentation

◆ print()

template<typename TypeToPrint >
virtual ostream& Diades::Automata::Experimental::StreamBasedPrinter< TypeToPrint >::print ( ostream &  os,
const TypeToPrint &  object 
) const
inlinevirtual

Print the given object in the given output stream using the << operator of Object

Parameters
osoutput stream
objectthe Object to print out
Returns
the updated output stream

Implements Diades::Automata::Experimental::Printer< TypeToPrint >.

Definition at line 66 of file Printer.hh.


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