summaryrefslogtreecommitdiff
path: root/src/smt/smt_engine.h
diff options
context:
space:
mode:
authorHaniel Barbosa <hanielbbarbosa@gmail.com>2018-08-23 16:09:16 -0500
committerGitHub <noreply@github.com>2018-08-23 16:09:16 -0500
commite9e15423971126408d06c705ac715433671e72cf (patch)
tree99e131fe292c5871b0cdf4ca9691c8d36f68664a /src/smt/smt_engine.h
parent408bccf70b41b1f41c8be04ffe7f7002fb57e182 (diff)
Makes the filename be set in the SMT engine by default (#2366)
Diffstat (limited to 'src/smt/smt_engine.h')
-rw-r--r--src/smt/smt_engine.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/smt/smt_engine.h b/src/smt/smt_engine.h
index 599087cb0..08bb773d6 100644
--- a/src/smt/smt_engine.h
+++ b/src/smt/smt_engine.h
@@ -260,7 +260,7 @@ class CVC4_PUBLIC SmtEngine {
Result d_status;
/**
- * The name of the input (if any).
+ * The input file name (if any) or the name set through setInfo (if any)
*/
std::string d_filename;
@@ -494,6 +494,10 @@ class CVC4_PUBLIC SmtEngine {
void setOption(const std::string& key, const CVC4::SExpr& value)
/* throw(OptionException, ModalException) */;
+ /** sets the input name */
+ void setFilename(std::string filename);
+ /** return the input name (if any) */
+ std::string getFilename() const;
/**
* Get the model (only if immediately preceded by a SAT
* or INVALID query). Only permitted if CVC4 was built with model
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback