dlvhex  2.5.0
print_container Struct Reference

Printable object base class. More...

#include <include/dlvhex2/Printhelpers.h>

Inheritance diagram for print_container:

Public Member Functions

virtual ~print_container ()
 Destructor.
virtual std::ostream & print (std::ostream &o) const =0
 Printer for an object to be implement by subclasses.

Detailed Description

Printable object base class.

Definition at line 90 of file Printhelpers.h.


Constructor & Destructor Documentation

virtual print_container::~print_container ( ) [inline, virtual]

Destructor.

Definition at line 93 of file Printhelpers.h.


Member Function Documentation

virtual std::ostream& print_container::print ( std::ostream &  o) const [pure virtual]

Printer for an object to be implement by subclasses.

Parameters:
oOutput stream to print to.
Returns:
o.

Implemented in print_method_container, and print_stream_container< T >.

Referenced by operator<<().


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