dlvhex  2.1.0
print_method_container Struct Reference

#include <include/dlvhex2/Printhelpers.h>

Inheritance diagram for print_method_container:
Collaboration diagram for print_method_container:

Public Types

typedef boost::function
< std::ostream &(std::ostream &)> 
PrintFn

Public Member Functions

 print_method_container (const PrintFn &fn)
virtual ~print_method_container ()
virtual std::ostream & print (std::ostream &o) const

Data Fields

PrintFn fn

Detailed Description

Definition at line 107 of file Printhelpers.h.


Member Typedef Documentation

typedef boost::function<std::ostream& (std::ostream&)> print_method_container::PrintFn

Definition at line 111 of file Printhelpers.h.


Constructor & Destructor Documentation

Definition at line 113 of file Printhelpers.h.

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

Definition at line 114 of file Printhelpers.h.


Member Function Documentation

virtual std::ostream& print_method_container::print ( std::ostream &  o) const [inline, virtual]

Implements print_container.

Definition at line 115 of file Printhelpers.h.

References fn.


Field Documentation

Definition at line 112 of file Printhelpers.h.

Referenced by print().


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