summaryrefslogtreecommitdiff
path: root/src/printer/printer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/printer/printer.h')
-rw-r--r--src/printer/printer.h9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/printer/printer.h b/src/printer/printer.h
index 48b76d15a..bc99f5130 100644
--- a/src/printer/printer.h
+++ b/src/printer/printer.h
@@ -44,6 +44,9 @@ protected:
// derived classes can construct, but no one else.
Printer() throw() {}
+ /** write model response to command */
+ virtual void toStream(std::ostream& out, Model& m, const Command* c) const throw() = 0;
+
public:
/** Get the Printer for a given OutputLanguage */
static Printer* getPrinter(OutputLanguage lang) throw() {
@@ -78,12 +81,8 @@ 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();
+ 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, const Command* c) const throw() = 0;
};/* class Printer */
}/* CVC4 namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback