DiaDes
0.1
DIAgnosis of Discrete-Event System
|
#include <Printer.hh>
Public Member Functions | |
StateInfoManagerPrettyPrinter (const StatePropertyManager< StateInfo, StateInfoId > &mgr) | |
virtual ostream & | print (ostream &os, const StateInfoId &id) const |
![]() | |
virtual ostream & | print (ostream &os, const StateInfoId &object) const=0 |
Protected Attributes | |
const StatePropertyManager< StateInfo, StateInfoId > & | _mgr |
Additional Inherited Members | |
![]() | |
using | Object = StateInfoId |
This printer prints the StateInfo of any StateInfoId associated with a given StateInfoManager for that StateInfoId. It requires that StateInfo has the operator <<
Definition at line 125 of file Printer.hh.
|
inline |
Cosntructor
mgr | the StateInfoManager that will be permanently associated with the Printer |
Definition at line 141 of file Printer.hh.
|
inlinevirtual |
Print the given StateInfoId in the given output stream using the << operator of StateInfo that is associated with id in the associated manager
os | output stream |
id | the StateInfoId(Object) to print out |
Definition at line 153 of file Printer.hh.
Referenced by Diades::Automata::Experimental::LocalCandidatePrettyPrinter< LocalStateInfo, LocalStateInfoId, EventInfo, EventId >::print().
|
protected |
Definition at line 133 of file Printer.hh.