diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-08-31 16:48:20 +0000 |
---|---|---|
committer | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2012-08-31 16:48:20 +0000 |
commit | 3c4935c7c0c6774588af94c82307a960e58a1154 (patch) | |
tree | e518c60ec182e91300fe53293c42cd4b85e49d29 /src/printer/printer.cpp | |
parent | ec9e426df607f13e5a0c0f52fbc6ed5dbb79fdf9 (diff) |
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
Diffstat (limited to 'src/printer/printer.cpp')
-rw-r--r-- | src/printer/printer.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/printer/printer.cpp b/src/printer/printer.cpp index 0881b814b..24baafa14 100644 --- a/src/printer/printer.cpp +++ b/src/printer/printer.cpp @@ -127,4 +127,10 @@ void Printer::toStream(std::ostream& out, const SExpr& sexpr) const throw() { } }/* Printer::toStream() */ +void Printer::toStream(std::ostream& out, Model* m ) const throw(){ + for( int i=0; i<m->getNumCommands(); i++ ){ + toStream( out, m, m->getCommand( i ), m->getCommandType( i ) ); + } +} + }/* CVC4 namespace */ |