summaryrefslogtreecommitdiff
path: root/src/smt/smt_options_handler.h
diff options
context:
space:
mode:
authorTim King <taking@google.com>2016-01-05 16:29:44 -0800
committerTim King <taking@google.com>2016-01-05 16:29:44 -0800
commit5eabda0f55cee3be81aa7ae126269c32e818322f (patch)
treeb873e4cb8e5d37ff3bb70596494bc5964aaef135 /src/smt/smt_options_handler.h
parentb717513e2a1d956c4456d13e0625957fc84c2449 (diff)
Add SmtGlobals Class
- The options replayStream, lemmaInputChannel, lemmaOutputChannel have been removed due to their datatypes. These datatypes were previously pointers to types that were not usable from the options/ library. - The option replayLog has been removed due to inconsistent memory management. - SmtGlobals is a class that wraps a pointer to each of these removed options. These can each be set independently. - There is a single SmtGlobals per SmtEngine with the lifetime of the SmtEngine. - A pointer to this is freely given to the user of an SmtEngine to parameterize the solver after construction. - Selected classes have been given a copy of this pointer in their constructors. - Removed the dependence on Node from Result. Moving Result back into util/.
Diffstat (limited to 'src/smt/smt_options_handler.h')
-rw-r--r--src/smt/smt_options_handler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/smt/smt_options_handler.h b/src/smt/smt_options_handler.h
index c4d27a722..f8e2ac155 100644
--- a/src/smt/smt_options_handler.h
+++ b/src/smt/smt_options_handler.h
@@ -124,7 +124,6 @@ public:
virtual void setRegularOutputChannel(std::string option, std::string optarg);
virtual void setDiagnosticOutputChannel(std::string option, std::string optarg);
virtual std::string checkReplayFilename(std::string option, std::string optarg);
- virtual std::ostream* checkReplayLogFilename(std::string option, std::string optarg);
virtual void statsEnabledBuild(std::string option, bool value) throw(OptionException);
virtual unsigned long tlimitHandler(std::string option, std::string optarg) throw(OptionException);
virtual unsigned long tlimitPerHandler(std::string option, std::string optarg) throw(OptionException);
@@ -152,13 +151,14 @@ public:
virtual void addDebugTag(std::string option, std::string optarg);
virtual void setPrintSuccess(std::string option, bool value);
+ static std::string __cvc4_errno_failreason();
+
private:
SmtEngine* d_smtEngine;
/* Helper utilities */
static std::string suggestTags(char const* const* validTags, std::string inputTag,
char const* const* additionalTags = NULL);
- static std::string __cvc4_errno_failreason();
/* Help strings */
static const std::string s_bitblastingModeHelp;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback