diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-06-16 19:59:24 -0400 |
---|---|---|
committer | lianah <lianahady@gmail.com> | 2014-06-19 18:24:39 -0400 |
commit | ae182dad751cb2a8955904a373ef3d2960557506 (patch) | |
tree | d462b4b919f1d5b77ec0b85c00f1a701cb303701 /src/main/command_executor.h | |
parent | 00ae9a7eba6648f957011cc250ba8707cce029c3 (diff) |
Some fixes for tear-down-incremental and "success" output.
Diffstat (limited to 'src/main/command_executor.h')
-rw-r--r-- | src/main/command_executor.h | 11 |
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(); |