diff options
Diffstat (limited to 'src/smt/command.h')
-rw-r--r-- | src/smt/command.h | 31 |
1 files changed, 20 insertions, 11 deletions
diff --git a/src/smt/command.h b/src/smt/command.h index 839927fc1..dcd818f83 100644 --- a/src/smt/command.h +++ b/src/smt/command.h @@ -468,21 +468,30 @@ public: * via the syntax (! expr :attr) */ class CVC4_PUBLIC SetUserAttributeCommand : public Command { -protected: - std::string d_attr; - Expr d_expr; - std::vector<Expr> d_expr_values; - std::string d_str_value; -public: - SetUserAttributeCommand( const std::string& attr, Expr expr ) throw(); - SetUserAttributeCommand( const std::string& attr, Expr expr, std::vector<Expr>& values ) throw(); - SetUserAttributeCommand( const std::string& attr, Expr expr, const std::string& value ) throw(); + public: + SetUserAttributeCommand(const std::string& attr, Expr expr) throw(); + SetUserAttributeCommand(const std::string& attr, Expr expr, + const std::vector<Expr>& values) throw(); + SetUserAttributeCommand(const std::string& attr, Expr expr, + const std::string& value) throw(); ~SetUserAttributeCommand() throw() {} + void invoke(SmtEngine* smtEngine); - Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap); + Command* exportTo(ExprManager* exprManager, + ExprManagerMapCollection& variableMap); Command* clone() const; std::string getCommandName() const throw(); -};/* class SetUserAttributeCommand */ + + private: + SetUserAttributeCommand(const std::string& attr, Expr expr, + const std::vector<Expr>& expr_values, + const std::string& str_value) throw(); + + const std::string d_attr; + const Expr d_expr; + const std::vector<Expr> d_expr_values; + const std::string d_str_value; +}; /* class SetUserAttributeCommand */ class CVC4_PUBLIC CheckSatCommand : public Command { protected: |