dlvhex
2.5.0
|
Registry Plugin for printing auxiliary IDs. More...
#include <include/dlvhex2/Registry.h>
Public Member Functions | |
virtual | ~AuxPrinter () |
Destructor. | |
virtual bool | print (std::ostream &out, ID id, const std::string &prefix) const =0 |
Is called to request printing an auxiliary symbol. |
Registry Plugin for printing auxiliary IDs.
Derived classes implement the print method which decides whether printing the ID is the responsibility of that class and acts accordingly.
Definition at line 65 of file Registry.h.
virtual AuxPrinter::~AuxPrinter | ( | ) | [inline, virtual] |
Destructor.
Definition at line 69 of file Registry.h.
virtual bool AuxPrinter::print | ( | std::ostream & | out, |
ID | id, | ||
const std::string & | prefix | ||
) | const [pure virtual] |
Is called to request printing an auxiliary symbol.
out | Stream to print. |
id | ID to be printed. |
prefix | A string to be printed in front of the actual output (if something is printed). |
Implemented in PlainAuxPrinter.