diff options
author | Morgan Deters <mdeters@cs.nyu.edu> | 2014-10-04 20:33:50 -0400 |
---|---|---|
committer | Morgan Deters <mdeters@cs.nyu.edu> | 2014-10-06 11:56:39 -0400 |
commit | 5738d3d2f9e917829156e678cbf317f3a1a37c9a (patch) | |
tree | a1270a0330b80deaeb4c8feec7629c5f748ab367 /src/expr/command.h | |
parent | 54b2aac34e418108265dd43a956a7865c50b9cf4 (diff) |
Support for RESET command in CVC native language (and infrastructure for support elsewhere).
Diffstat (limited to 'src/expr/command.h')
-rw-r--r-- | src/expr/command.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/expr/command.h b/src/expr/command.h index 4d2957b7c..75cf80aae 100644 --- a/src/expr/command.h +++ b/src/expr/command.h @@ -454,7 +454,6 @@ public: std::string getCommandName() const throw(); };/* class SetUserAttributeCommand */ - class CVC4_PUBLIC CheckSatCommand : public Command { protected: Expr d_expr; @@ -798,10 +797,19 @@ public: std::string getCommandName() const throw(); };/* class PropagateRuleCommand */ +class CVC4_PUBLIC ResetCommand : public Command { +public: + ResetCommand() throw() {} + ~ResetCommand() throw() {} + void invoke(SmtEngine* smtEngine) throw(); + Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap); + Command* clone() const; + std::string getCommandName() const throw(); +};/* class ResetCommand */ class CVC4_PUBLIC QuitCommand : public Command { public: - QuitCommand() throw(); + QuitCommand() throw() {} ~QuitCommand() throw() {} void invoke(SmtEngine* smtEngine) throw(); Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap); |