diff options
Diffstat (limited to 'src/printer/smt2/smt2_printer.h')
-rw-r--r-- | src/printer/smt2/smt2_printer.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/printer/smt2/smt2_printer.h b/src/printer/smt2/smt2_printer.h index 871b3823a..c70bb78c3 100644 --- a/src/printer/smt2/smt2_printer.h +++ b/src/printer/smt2/smt2_printer.h @@ -27,11 +27,19 @@ namespace CVC4 { namespace printer { namespace smt2 { +enum Variant { + no_variant, + z3str_variant +};/* enum Variant */ + class Smt2Printer : public CVC4::Printer { + Variant d_variant; + void toStream(std::ostream& out, TNode n, int toDepth, bool types) const throw(); void toStream(std::ostream& out, const Model& m, const Command* c) const throw(); void toStream(std::ostream& out, const Model& m) const throw(); public: + Smt2Printer(Variant variant = no_variant) : d_variant(variant) { } using CVC4::Printer::toStream; void toStream(std::ostream& out, TNode n, int toDepth, bool types, size_t dag) const throw(); void toStream(std::ostream& out, const Command* c, int toDepth, bool types, size_t dag) const throw(); |