diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-07-17 13:38:50 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-17 13:38:50 -0500 |
commit | f99889b0c1260fccf28daac995e58312912bae9f (patch) | |
tree | c9bba127e62aedef587ee7da83950281a4c131f4 /src/options/options_handler.h | |
parent | e8df6f67cc2654f50d49995377a4b411668235e1 (diff) |
Replace options listener infrastructure (#4764)
This replaces the old options listener infrastructure with the OptionsManager introduced in cb8d041.
It eliminates a "beforeSearchListener", which was a custom way of some options throwing a modal exception if they were set after initialization. Now all options are consistent: no option can be set after initialization.
It also moves managed ostream objects to the OptionsManager.
@mpreiner The next step will be to remove the "notifies" field from the Options build system and then proceed with cleaning src/options/.
Diffstat (limited to 'src/options/options_handler.h')
-rw-r--r-- | src/options/options_handler.h | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/src/options/options_handler.h b/src/options/options_handler.h index 876edfad7..221e6179f 100644 --- a/src/options/options_handler.h +++ b/src/options/options_handler.h @@ -84,14 +84,9 @@ public: * Throws a ModalException if this option is being set after final * initialization. */ - void notifyBeforeSearch(const std::string& option); - void notifyDumpMode(std::string option); void setProduceAssertions(std::string option, bool value); void proofEnabledBuild(std::string option, bool value); void LFSCEnabledBuild(std::string option, bool value); - void notifyDumpToFile(std::string option); - void notifySetRegularOutputChannel(std::string option); - void notifySetDiagnosticOutputChannel(std::string option); void statsEnabledBuild(std::string option, bool value); @@ -100,9 +95,6 @@ public: /* expr/options_handlers.h */ void setDefaultExprDepthPredicate(std::string option, int depth); void setDefaultDagThreshPredicate(std::string option, int dag); - void notifySetDefaultExprDepth(std::string option); - void notifySetDefaultDagThresh(std::string option); - void notifySetPrintExprTypes(std::string option); /* main/options_handlers.h */ void copyright(std::string option); @@ -119,7 +111,6 @@ public: InputLanguage stringToInputLanguage(std::string option, std::string optarg); void enableTraceTag(std::string option, std::string optarg); void enableDebugTag(std::string option, std::string optarg); - void notifyPrintSuccess(std::string option); private: |