#include <Printable.H>
Typical usage: (1) inherit from Printable Class A : Class Printable (2) define the method print() in A (3) use '<<' operator for objects of class A
Variants of print can be added for different flavors.
Public Member Functions | |
virtual | ~Printable () |
virtual void | print (std::ostream &) const =0 |
virtual Printable::~Printable | ( | ) | [inline, virtual] |
virtual void Printable::print | ( | std::ostream & | ) | const [pure virtual] |
Referenced by operator<<().