summaryrefslogtreecommitdiff
path: root/src/options/smt_modes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/options/smt_modes.cpp')
-rw-r--r--src/options/smt_modes.cpp36
1 files changed, 36 insertions, 0 deletions
diff --git a/src/options/smt_modes.cpp b/src/options/smt_modes.cpp
new file mode 100644
index 000000000..4a2fd404c
--- /dev/null
+++ b/src/options/smt_modes.cpp
@@ -0,0 +1,36 @@
+/********************* */
+/*! \file smt_modes.cpp
+ ** \verbatim
+ ** Top contributors (to current version):
+ ** Morgan Deters, Tim King
+ ** This file is part of the CVC4 project.
+ ** Copyright (c) 2009-2018 by the authors listed in the file AUTHORS
+ ** in the top-level source directory) and their institutional affiliations.
+ ** All rights reserved. See the file COPYING in the top-level source
+ ** directory for licensing information.\endverbatim
+ **
+ ** \brief [[ Add one-line brief description here ]]
+ **
+ ** [[ Add lengthier description here ]]
+ ** \todo document this file
+ **/
+
+#include "options/smt_modes.h"
+
+#include <iostream>
+
+namespace CVC4 {
+
+std::ostream& operator<<(std::ostream& out, SimplificationMode mode)
+{
+ switch (mode)
+ {
+ case SIMPLIFICATION_MODE_BATCH: out << "SIMPLIFICATION_MODE_BATCH"; break;
+ case SIMPLIFICATION_MODE_NONE: out << "SIMPLIFICATION_MODE_NONE"; break;
+ default: out << "SimplificationMode:UNKNOWN![" << unsigned(mode) << "]";
+ }
+
+ return out;
+}
+
+} // namespace CVC4
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback