summaryrefslogtreecommitdiff
path: root/src/theory/booleans
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2012-08-01 22:33:13 +0000
committerMorgan Deters <mdeters@gmail.com>2012-08-01 22:33:13 +0000
commit410688d57a92d5ff3505ad70c4573955e4075475 (patch)
treee50d4316c22198dcf4f8af98ca69df22ecb2734c /src/theory/booleans
parentac7c25f879b222cadefca492102e277488df2bf2 (diff)
add isFinished() to type enumerators (so we don't rely on exception-throwing after exhaustively enumerating finite types), also fix a standards-related FIXME in SmtEngine by clarifying the text of an error message
Diffstat (limited to 'src/theory/booleans')
-rw-r--r--src/theory/booleans/type_enumerator.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/theory/booleans/type_enumerator.h b/src/theory/booleans/type_enumerator.h
index c83e79d75..66f767805 100644
--- a/src/theory/booleans/type_enumerator.h
+++ b/src/theory/booleans/type_enumerator.h
@@ -62,6 +62,10 @@ public:
return *this;
}
+ bool isFinished() throw() {
+ return d_value == DONE;
+ }
+
};/* class BooleanEnumerator */
}/* CVC4::theory::booleans namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback