dlvhex
2.5.0
|
Printable object base class. More...
#include <include/dlvhex2/Printhelpers.h>
Public Member Functions | |
print_stream_container (const T &t) | |
Copy-constructor. | |
virtual | ~print_stream_container () |
Destructor. | |
virtual std::ostream & | print (std::ostream &o) const |
Printer for an object to be implement by subclasses. | |
Data Fields | |
T | t |
Element to print. |
Printable object base class.
Definition at line 115 of file Printhelpers.h.
print_stream_container< T >::print_stream_container | ( | const T & | t | ) | [inline] |
virtual print_stream_container< T >::~print_stream_container | ( | ) | [inline, virtual] |
Destructor.
Definition at line 124 of file Printhelpers.h.
virtual std::ostream& print_stream_container< T >::print | ( | std::ostream & | o | ) | const [inline, virtual] |
Printer for an object to be implement by subclasses.
o | Output stream to print to. |
o
. Implements print_container.
Definition at line 125 of file Printhelpers.h.
References print_stream_container< T >::t.
T print_stream_container< T >::t |
Element to print.
Definition at line 119 of file Printhelpers.h.
Referenced by print_stream_container< T >::print().