dlvhex
2.5.0
|
Prints auxiliary atoms in a generic fashion of kind aux_XXX(...). More...
#include <include/dlvhex2/PlainAuxPrinter.h>
Public Member Functions | |
PlainAuxPrinter (RegistryPtr reg) | |
Constructor. | |
virtual bool | print (std::ostream &out, ID id, const std::string &prefix) const |
Print an ID. | |
Protected Attributes | |
RegistryPtr | reg |
reg Registry to use for resolving IDs. |
Prints auxiliary atoms in a generic fashion of kind aux_XXX(...).
Definition at line 43 of file PlainAuxPrinter.h.
Constructor.
reg | Registry to use for resolving IDs. |
Definition at line 43 of file PlainAuxPrinter.cpp.
bool PlainAuxPrinter::print | ( | std::ostream & | out, |
ID | id, | ||
const std::string & | prefix | ||
) | const [virtual] |
Print an ID.
out | Stream to print id to. |
id | ID of an auxiliary atom. |
prefix | String to print before id . |
Implements AuxPrinter.
Definition at line 51 of file PlainAuxPrinter.cpp.
References reg.
RegistryPtr PlainAuxPrinter::reg [protected] |
reg Registry to use for resolving IDs.
Definition at line 59 of file PlainAuxPrinter.h.
Referenced by print().