From 3c4935c7c0c6774588af94c82307a960e58a1154 Mon Sep 17 00:00:00 2001 From: Andrew Reynolds Date: Fri, 31 Aug 2012 16:48:20 +0000 Subject: merge from fmf-devel branch. more updates to models: now with collectModelInfo with fullModel argument, most theory-specific implementation out of the model class, model printer relegated to printer classes. Also updates to finite mode finding, modifications to datatypes making them compatible with theory combination, support for theory-specific handling of user attributes, refactoring of uf models --- src/printer/printer.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/printer/printer.h') diff --git a/src/printer/printer.h b/src/printer/printer.h index e3b1d6f40..6fedc854c 100644 --- a/src/printer/printer.h +++ b/src/printer/printer.h @@ -23,6 +23,7 @@ #include "util/language.h" #include "util/sexpr.h" +#include "util/model.h" #include "expr/node.h" #include "expr/command.h" @@ -76,6 +77,13 @@ public: */ virtual void toStream(std::ostream& out, const Result& r) const throw(); + /** Write a Model out to a stream with this Printer. */ + virtual void toStream(std::ostream& out, Model* m ) const throw(); + + //for models + + /** write model response to command */ + virtual void toStream(std::ostream& out, Model* m, Command* c, int c_type ) const throw() = 0; };/* class Printer */ }/* CVC4 namespace */ -- cgit v1.2.3