summaryrefslogtreecommitdiff
path: root/src/theory/theory_engine.h
diff options
context:
space:
mode:
authorClark Barrett <barrett@cs.nyu.edu>2010-07-06 18:37:06 +0000
committerClark Barrett <barrett@cs.nyu.edu>2010-07-06 18:37:06 +0000
commitd20b7a53b726ef1aa8b600dba27496ec3ee81050 (patch)
treeba48af8592537d356a48d16354905a17db429bcc /src/theory/theory_engine.h
parent86eb2490a00466d5b014976fc89b813011b663eb (diff)
Moved registration to theory engine
Diffstat (limited to 'src/theory/theory_engine.h')
-rw-r--r--src/theory/theory_engine.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/theory/theory_engine.h b/src/theory/theory_engine.h
index 0027903df..f467d0d8f 100644
--- a/src/theory/theory_engine.h
+++ b/src/theory/theory_engine.h
@@ -54,6 +54,11 @@ class TheoryEngine {
/** A table of Kinds to pointers to Theory */
theory::TheoryOfTable d_theoryOfTable;
+ /** Tag for the "registerTerm()-has-been-called" flag on Nodes */
+ struct Registered {};
+ /** The "registerTerm()-has-been-called" flag on Nodes */
+ typedef CVC4::expr::CDAttribute<Registered, bool> RegisteredAttr;
+
/**
* An output channel for Theory that passes messages
* back to a TheoryEngine.
@@ -83,6 +88,8 @@ class TheoryEngine {
d_explanationNode(context){
}
+ void newFact(TNode n);
+
void conflict(TNode conflictNode, bool safe) throw(theory::Interrupted, AssertionException) {
Debug("theory") << "EngineOutputChannel::conflict(" << conflictNode << ")" << std::endl;
d_conflictNode = conflictNode;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback