summaryrefslogtreecommitdiff
path: root/src/theory/interrupted.h
diff options
context:
space:
mode:
authorMorgan Deters <mdeters@gmail.com>2010-02-04 02:46:17 +0000
committerMorgan Deters <mdeters@gmail.com>2010-02-04 02:46:17 +0000
commit92a04e03876154a946b729855a72e1e871304fe5 (patch)
treeab454cccf4cff38c4c0c9a9c0786b75340f07e09 /src/theory/interrupted.h
parent7329c1f1e3603c86c7ad88cbdefe2393d9740d98 (diff)
Added theory output channel interfaces and "Interrupted" exception.
Updated contrib/update-copyright to handle Antlr (.g) parser/lexer inputs. Updated copyright year. Added a new "bool" theory (right now just to hold a kind.h contribution). Added "kinds" files to UF and the new "bool" theory.
Diffstat (limited to 'src/theory/interrupted.h')
-rw-r--r--src/theory/interrupted.h37
1 files changed, 37 insertions, 0 deletions
diff --git a/src/theory/interrupted.h b/src/theory/interrupted.h
new file mode 100644
index 000000000..03bf466c9
--- /dev/null
+++ b/src/theory/interrupted.h
@@ -0,0 +1,37 @@
+/********************* -*- C++ -*- */
+/** interrupted.h
+ ** Original author:
+ ** Major contributors: none
+ ** Minor contributors (to current version): none
+ ** This file is part of the CVC4 prototype.
+ ** Copyright (c) 2009, 2010 The Analysis of Computer Systems Group (ACSys)
+ ** Courant Institute of Mathematical Sciences
+ ** New York University
+ ** See the file COPYING in the top-level source directory for licensing
+ ** information.
+ **
+ ** The theory output channel interface.
+ **/
+
+#ifndef __CVC4__THEORY__INTERRUPTED_H
+#define __CVC4__THEORY__INTERRUPTED_H
+
+#include "util/exception.h"
+
+namespace CVC4 {
+namespace theory {
+
+class CVC4_PUBLIC Interrupted : public CVC4::Exception {
+public:
+
+ // Constructors
+ Interrupted() : CVC4::Exception("CVC4::Theory::Interrupted") {}
+ Interrupted(const std::string& msg) : CVC4::Exception(msg) {}
+ Interrupted(const char* msg) : CVC4::Exception(msg) {}
+
+};/* class Interrupted */
+
+}/* CVC4::theory namespace */
+}/* CVC4 namespace */
+
+#endif /* __CVC4__THEORY__INTERRUPTED_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback