| 1755 | const Printer& p; |
| 1756 | FlatZincGetInfo(const Printer& printer) : p(printer) {} |
| 1757 | virtual std::string |
| 1758 | getInfo(const Space& space) const { |
| 1759 | std::stringstream ss; |
| 1760 | if (const FlatZincSpace* fz_space = dynamic_cast<const FlatZincSpace*>(&space)) { |
| 1761 | ss << "{\n\t\"domains\": \""; |
| 1762 | ss << fz_space->getDomains(p); |
| 1763 | ss << "\"\n}"; |
| 1764 | } |
| 1765 | return ss.str(); |
| 1766 | } |
| 1767 | ~FlatZincGetInfo(void) {}; |
| 1768 | }; |
| 1769 |
nothing calls this directly
no test coverage detected