dlvhex
2.5.0
|
Printer classes for printing objects stored in registry given registry and ID. More...
#include "dlvhex2/PlatformDefinitions.h"
#include "dlvhex2/fwd.h"
#include "dlvhex2/ID.h"
#include <vector>
#include <string>
#include <iosfwd>
Go to the source code of this file.
Data Structures | |
class | Printer |
Prints dlvhex IDs in differnt formats depending on the implementation in a subclass. More... | |
class | RawPrinter |
Prints IDs in human-readable format. More... | |
Functions | |
template<typename PrinterT > | |
std::string | printToString (ID id, RegistryPtr reg) |
Prints an ID to a string. | |
template<typename PrinterT > | |
std::string | printManyToString (const Tuple &ids, const std::string &separator, RegistryPtr reg) |
Prints multiple IDs to a string. |
Printer classes for printing objects stored in registry given registry and ID.
Definition in file Printer.h.
std::string printManyToString | ( | const Tuple & | ids, |
const std::string & | separator, | ||
RegistryPtr | reg | ||
) |
std::string printToString | ( | ID | id, |
RegistryPtr | reg | ||
) |