summaryrefslogtreecommitdiff
path: root/src/main/command_executor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/command_executor.h')
-rw-r--r--src/main/command_executor.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/main/command_executor.h b/src/main/command_executor.h
index e6e3d3411..d28f711af 100644
--- a/src/main/command_executor.h
+++ b/src/main/command_executor.h
@@ -52,6 +52,17 @@ public:
*/
bool doCommand(CVC4::Command* cmd);
+ /**
+ * Allow one to set an option on the underlying SmtEngine.
+ * This could be done with a Command object, but then it's
+ * interpreted as a user command (and might result in "success"
+ * or "error" output, for example. This function can throw
+ * exceptions.
+ */
+ void setOption(const std::string& key, const CVC4::SExpr& value) {
+ d_smtEngine->setOption(key, value);
+ }
+
Result getResult() const { return d_result; }
void reset();
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback