return d_commandStatus != NULL && dynamic_cast<const CommandInterrupted*>(d_commandStatus) != NULL;
}
-void Command::invoke(SmtEngine* smtEngine, std::ostream& out) throw() {
+void Command::invoke(SmtEngine* smtEngine, std::ostream& out) {
invoke(smtEngine);
if(!(isMuted() && ok())) {
printResult(out, smtEngine->getOption("command-verbosity:" + getCommandName()).getIntegerValue().toUnsignedInt());
Printer::getPrinter(language)->toStream(out, this);
}
-void Command::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void Command::printResult(std::ostream& out, uint32_t verbosity) const {
if(d_commandStatus != NULL) {
if((!ok() && verbosity >= 1) || verbosity >= 2) {
out << *d_commandStatus;
return d_name;
}
-void EmptyCommand::invoke(SmtEngine* smtEngine) throw() {
+void EmptyCommand::invoke(SmtEngine* smtEngine) {
/* empty commands have no implementation */
d_commandStatus = CommandSuccess::instance();
}
return d_output;
}
-void EchoCommand::invoke(SmtEngine* smtEngine) throw() {
+void EchoCommand::invoke(SmtEngine* smtEngine) {
/* we don't have an output stream here, nothing to do */
d_commandStatus = CommandSuccess::instance();
}
-void EchoCommand::invoke(SmtEngine* smtEngine, std::ostream& out) throw() {
+void EchoCommand::invoke(SmtEngine* smtEngine, std::ostream& out) {
out << d_output << std::endl;
d_commandStatus = CommandSuccess::instance();
printResult(out, smtEngine->getOption("command-verbosity:" + getCommandName()).getIntegerValue().toUnsignedInt());
return d_expr;
}
-void AssertCommand::invoke(SmtEngine* smtEngine) throw() {
+void AssertCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->assertFormula(d_expr, d_inUnsatCore);
d_commandStatus = CommandSuccess::instance();
/* class PushCommand */
-void PushCommand::invoke(SmtEngine* smtEngine) throw() {
+void PushCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->push();
d_commandStatus = CommandSuccess::instance();
/* class PopCommand */
-void PopCommand::invoke(SmtEngine* smtEngine) throw() {
+void PopCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->pop();
d_commandStatus = CommandSuccess::instance();
return d_expr;
}
-void CheckSatCommand::invoke(SmtEngine* smtEngine) throw() {
+void CheckSatCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->checkSat(d_expr);
d_commandStatus = CommandSuccess::instance();
return d_result;
}
-void CheckSatCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void CheckSatCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
return d_expr;
}
-void QueryCommand::invoke(SmtEngine* smtEngine) throw() {
+void QueryCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->query(d_expr);
d_commandStatus = CommandSuccess::instance();
return d_result;
}
-void QueryCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void QueryCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
return d_expr;
}
-void CheckSynthCommand::invoke(SmtEngine* smtEngine) throw() {
+void CheckSynthCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->checkSynth(d_expr);
d_commandStatus = CommandSuccess::instance();
return d_result;
}
-void CheckSynthCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void CheckSynthCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
/* class ResetCommand */
-void ResetCommand::invoke(SmtEngine* smtEngine) throw() {
+void ResetCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->reset();
d_commandStatus = CommandSuccess::instance();
/* class ResetAssertionsCommand */
-void ResetAssertionsCommand::invoke(SmtEngine* smtEngine) throw() {
+void ResetAssertionsCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->resetAssertions();
d_commandStatus = CommandSuccess::instance();
/* class QuitCommand */
-void QuitCommand::invoke(SmtEngine* smtEngine) throw() {
+void QuitCommand::invoke(SmtEngine* smtEngine) {
Dump("benchmark") << *this;
d_commandStatus = CommandSuccess::instance();
}
return d_comment;
}
-void CommentCommand::invoke(SmtEngine* smtEngine) throw() {
+void CommentCommand::invoke(SmtEngine* smtEngine) {
Dump("benchmark") << *this;
d_commandStatus = CommandSuccess::instance();
}
d_commandSequence.clear();
}
-void CommandSequence::invoke(SmtEngine* smtEngine) throw() {
+void CommandSequence::invoke(SmtEngine* smtEngine) {
for(; d_index < d_commandSequence.size(); ++d_index) {
d_commandSequence[d_index]->invoke(smtEngine);
if(! d_commandSequence[d_index]->ok()) {
d_commandStatus = CommandSuccess::instance();
}
-void CommandSequence::invoke(SmtEngine* smtEngine, std::ostream& out) throw() {
+void CommandSequence::invoke(SmtEngine* smtEngine, std::ostream& out) {
for(; d_index < d_commandSequence.size(); ++d_index) {
d_commandSequence[d_index]->invoke(smtEngine, out);
if(! d_commandSequence[d_index]->ok()) {
d_printInModelSetByUser = true;
}
-void DeclareFunctionCommand::invoke(SmtEngine* smtEngine) throw() {
+void DeclareFunctionCommand::invoke(SmtEngine* smtEngine) {
d_commandStatus = CommandSuccess::instance();
}
return d_type;
}
-void DeclareTypeCommand::invoke(SmtEngine* smtEngine) throw() {
+void DeclareTypeCommand::invoke(SmtEngine* smtEngine) {
d_commandStatus = CommandSuccess::instance();
}
return d_type;
}
-void DefineTypeCommand::invoke(SmtEngine* smtEngine) throw() {
+void DefineTypeCommand::invoke(SmtEngine* smtEngine) {
d_commandStatus = CommandSuccess::instance();
}
return d_formula;
}
-void DefineFunctionCommand::invoke(SmtEngine* smtEngine) throw() {
+void DefineFunctionCommand::invoke(SmtEngine* smtEngine) {
try {
if(!d_func.isNull()) {
smtEngine->defineFunction(d_func, d_formals, d_formula);
DefineFunctionCommand(id, func, formals, formula) {
}
-void DefineNamedFunctionCommand::invoke(SmtEngine* smtEngine) throw() {
+void DefineNamedFunctionCommand::invoke(SmtEngine* smtEngine) {
this->DefineFunctionCommand::invoke(smtEngine);
if(!d_func.isNull() && d_func.getType().isBoolean()) {
smtEngine->addToAssignment(d_func.getExprManager()->mkExpr(kind::APPLY, d_func));
d_attr( attr ), d_expr( expr ), d_str_value( value ){
}
-void SetUserAttributeCommand::invoke(SmtEngine* smtEngine) throw(){
+void SetUserAttributeCommand::invoke(SmtEngine* smtEngine) {
try {
if(!d_expr.isNull()) {
smtEngine->setUserAttribute( d_attr, d_expr, d_expr_values, d_str_value );
return d_term;
}
-void SimplifyCommand::invoke(SmtEngine* smtEngine) throw() {
+void SimplifyCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->simplify(d_term);
d_commandStatus = CommandSuccess::instance();
return d_result;
}
-void SimplifyCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void SimplifyCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
return d_term;
}
-void ExpandDefinitionsCommand::invoke(SmtEngine* smtEngine) throw() {
+void ExpandDefinitionsCommand::invoke(SmtEngine* smtEngine) {
d_result = smtEngine->expandDefinitions(d_term);
d_commandStatus = CommandSuccess::instance();
}
return d_result;
}
-void ExpandDefinitionsCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void ExpandDefinitionsCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
return d_terms;
}
-void GetValueCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetValueCommand::invoke(SmtEngine* smtEngine) {
try {
vector<Expr> result;
ExprManager* em = smtEngine->getExprManager();
return d_result;
}
-void GetValueCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetValueCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetAssignmentCommand::GetAssignmentCommand() throw() {
}
-void GetAssignmentCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetAssignmentCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->getAssignment();
d_commandStatus = CommandSuccess::instance();
return d_result;
}
-void GetAssignmentCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetAssignmentCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetModelCommand::GetModelCommand() throw() {
}
-void GetModelCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetModelCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->getModel();
d_smtEngine = smtEngine;
}
*/
-void GetModelCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetModelCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetProofCommand::GetProofCommand() throw() {
}
-void GetProofCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetProofCommand::invoke(SmtEngine* smtEngine) {
try {
d_smtEngine = smtEngine;
d_result = smtEngine->getProof();
return d_result;
}
-void GetProofCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetProofCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetInstantiationsCommand::GetInstantiationsCommand() throw() {
}
-void GetInstantiationsCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetInstantiationsCommand::invoke(SmtEngine* smtEngine) {
try {
d_smtEngine = smtEngine;
d_commandStatus = CommandSuccess::instance();
// return d_result;
//}
-void GetInstantiationsCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetInstantiationsCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetSynthSolutionCommand::GetSynthSolutionCommand() throw() {
}
-void GetSynthSolutionCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetSynthSolutionCommand::invoke(SmtEngine* smtEngine) {
try {
d_smtEngine = smtEngine;
d_commandStatus = CommandSuccess::instance();
}
}
-void GetSynthSolutionCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetSynthSolutionCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
return d_doFull;
}
-void GetQuantifierEliminationCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetQuantifierEliminationCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->doQuantifierElimination(d_expr, d_doFull);
d_commandStatus = CommandSuccess::instance();
return d_result;
}
-void GetQuantifierEliminationCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetQuantifierEliminationCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetUnsatCoreCommand::GetUnsatCoreCommand(const std::map<Expr, std::string>& names) throw() : d_names(names) {
}
-void GetUnsatCoreCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetUnsatCoreCommand::invoke(SmtEngine* smtEngine) {
try {
d_result = smtEngine->getUnsatCore();
d_commandStatus = CommandSuccess::instance();
}
}
-void GetUnsatCoreCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetUnsatCoreCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
GetAssertionsCommand::GetAssertionsCommand() throw() {
}
-void GetAssertionsCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetAssertionsCommand::invoke(SmtEngine* smtEngine) {
try {
stringstream ss;
const vector<Expr> v = smtEngine->getAssertions();
return d_result;
}
-void GetAssertionsCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetAssertionsCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else {
return d_status;
}
-void SetBenchmarkStatusCommand::invoke(SmtEngine* smtEngine) throw() {
+void SetBenchmarkStatusCommand::invoke(SmtEngine* smtEngine) {
try {
stringstream ss;
ss << d_status;
return d_logic;
}
-void SetBenchmarkLogicCommand::invoke(SmtEngine* smtEngine) throw() {
+void SetBenchmarkLogicCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->setLogic(d_logic);
d_commandStatus = CommandSuccess::instance();
return d_sexpr;
}
-void SetInfoCommand::invoke(SmtEngine* smtEngine) throw() {
+void SetInfoCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->setInfo(d_flag, d_sexpr);
d_commandStatus = CommandSuccess::instance();
return d_flag;
}
-void GetInfoCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetInfoCommand::invoke(SmtEngine* smtEngine) {
try {
vector<SExpr> v;
v.push_back(SExpr(SExpr::Keyword(string(":") + d_flag)));
return d_result;
}
-void GetInfoCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetInfoCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else if(d_result != "") {
return d_sexpr;
}
-void SetOptionCommand::invoke(SmtEngine* smtEngine) throw() {
+void SetOptionCommand::invoke(SmtEngine* smtEngine) {
try {
smtEngine->setOption(d_flag, d_sexpr);
d_commandStatus = CommandSuccess::instance();
return d_flag;
}
-void GetOptionCommand::invoke(SmtEngine* smtEngine) throw() {
+void GetOptionCommand::invoke(SmtEngine* smtEngine) {
try {
SExpr res = smtEngine->getOption(d_flag);
d_result = res.toString();
return d_result;
}
-void GetOptionCommand::printResult(std::ostream& out, uint32_t verbosity) const throw() {
+void GetOptionCommand::printResult(std::ostream& out, uint32_t verbosity) const {
if(! ok()) {
this->Command::printResult(out, verbosity);
} else if(d_result != "") {
return d_datatypes;
}
-void DatatypeDeclarationCommand::invoke(SmtEngine* smtEngine) throw() {
+void DatatypeDeclarationCommand::invoke(SmtEngine* smtEngine) {
d_commandStatus = CommandSuccess::instance();
}
return d_triggers;
}
-void RewriteRuleCommand::invoke(SmtEngine* smtEngine) throw() {
+void RewriteRuleCommand::invoke(SmtEngine* smtEngine) {
try {
ExprManager* em = smtEngine->getExprManager();
/** build vars list */
return d_deduction;
}
-void PropagateRuleCommand::invoke(SmtEngine* smtEngine) throw() {
+void PropagateRuleCommand::invoke(SmtEngine* smtEngine) {
try {
ExprManager* em = smtEngine->getExprManager();
/** build vars list */
virtual ~Command() throw();
- virtual void invoke(SmtEngine* smtEngine) throw() = 0;
- virtual void invoke(SmtEngine* smtEngine, std::ostream& out) throw();
+ virtual void invoke(SmtEngine* smtEngine) = 0;
+ virtual void invoke(SmtEngine* smtEngine, std::ostream& out);
virtual void toStream(std::ostream& out, int toDepth = -1, bool types = false, size_t dag = 1,
OutputLanguage language = language::output::LANG_AUTO) const throw();
/** Get the command status (it's NULL if we haven't run yet). */
const CommandStatus* getCommandStatus() const throw() { return d_commandStatus; }
- virtual void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ virtual void printResult(std::ostream& out, uint32_t verbosity = 2) const;
/**
* Maps this Command into one for a different ExprManager, using
EmptyCommand(std::string name = "") throw();
~EmptyCommand() throw() {}
std::string getName() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
EchoCommand(std::string output = "") throw();
~EchoCommand() throw() {}
std::string getOutput() const throw();
- void invoke(SmtEngine* smtEngine) throw();
- void invoke(SmtEngine* smtEngine, std::ostream& out) throw();
+ void invoke(SmtEngine* smtEngine);
+ void invoke(SmtEngine* smtEngine, std::ostream& out);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
AssertCommand(const Expr& e, bool inUnsatCore = true) throw();
~AssertCommand() throw() {}
Expr getExpr() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
class CVC4_PUBLIC PushCommand : public Command {
public:
~PushCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
class CVC4_PUBLIC PopCommand : public Command {
public:
~PopCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
DeclarationDefinitionCommand(const std::string& id) throw();
~DeclarationDefinitionCommand() throw() {}
- virtual void invoke(SmtEngine* smtEngine) throw() = 0;
+ virtual void invoke(SmtEngine* smtEngine) = 0;
std::string getSymbol() const throw();
};/* class DeclarationDefinitionCommand */
bool getPrintInModel() const throw();
bool getPrintInModelSetByUser() const throw();
void setPrintInModel( bool p );
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
~DeclareTypeCommand() throw() {}
size_t getArity() const throw();
Type getType() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
~DefineTypeCommand() throw() {}
const std::vector<Type>& getParameters() const throw();
Type getType() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
Expr getFunction() const throw();
const std::vector<Expr>& getFormals() const throw();
Expr getFormula() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
DefineNamedFunctionCommand(const std::string& id, Expr func,
const std::vector<Expr>& formals, Expr formula) throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
};/* class DefineNamedFunctionCommand */
SetUserAttributeCommand( const std::string& attr, Expr expr, std::vector<Expr>& values ) throw();
SetUserAttributeCommand( const std::string& attr, Expr expr, const std::string& value ) throw();
~SetUserAttributeCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
CheckSatCommand(const Expr& expr, bool inUnsatCore = true) throw();
~CheckSatCommand() throw() {}
Expr getExpr() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Result getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
QueryCommand(const Expr& e, bool inUnsatCore = true) throw();
~QueryCommand() throw() {}
Expr getExpr() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Result getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
CheckSynthCommand(const Expr& expr, bool inUnsatCore = true) throw();
~CheckSynthCommand() throw() {}
Expr getExpr() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Result getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
SimplifyCommand(Expr term) throw();
~SimplifyCommand() throw() {}
Expr getTerm() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Expr getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
ExpandDefinitionsCommand(Expr term) throw();
~ExpandDefinitionsCommand() throw() {}
Expr getTerm() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Expr getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
GetValueCommand(const std::vector<Expr>& terms) throw();
~GetValueCommand() throw() {}
const std::vector<Expr>& getTerms() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Expr getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
GetAssignmentCommand() throw();
~GetAssignmentCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
SExpr getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
GetModelCommand() throw();
~GetModelCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
// Model is private to the library -- for now
//Model* getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
GetProofCommand() throw();
~GetProofCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Proof* getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
GetInstantiationsCommand() throw();
~GetInstantiationsCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
//Instantiations* getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
GetSynthSolutionCommand() throw();
~GetSynthSolutionCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void invoke(SmtEngine* smtEngine);
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
~GetQuantifierEliminationCommand() throw() {}
Expr getExpr() const throw();
bool getDoFull() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Expr getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
GetUnsatCoreCommand() throw();
GetUnsatCoreCommand(const std::map<Expr, std::string>& names) throw();
~GetUnsatCoreCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void invoke(SmtEngine* smtEngine);
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
const UnsatCore& getUnsatCore() const throw();
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
public:
GetAssertionsCommand() throw();
~GetAssertionsCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
std::string getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
SetBenchmarkStatusCommand(BenchmarkStatus status) throw();
~SetBenchmarkStatusCommand() throw() {}
BenchmarkStatus getStatus() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
SetBenchmarkLogicCommand(std::string logic) throw();
~SetBenchmarkLogicCommand() throw() {}
std::string getLogic() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
~SetInfoCommand() throw() {}
std::string getFlag() const throw();
SExpr getSExpr() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
GetInfoCommand(std::string flag) throw();
~GetInfoCommand() throw() {}
std::string getFlag() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
std::string getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
~SetOptionCommand() throw() {}
std::string getFlag() const throw();
SExpr getSExpr() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
GetOptionCommand(std::string flag) throw();
~GetOptionCommand() throw() {}
std::string getFlag() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
std::string getResult() const throw();
- void printResult(std::ostream& out, uint32_t verbosity = 2) const throw();
+ void printResult(std::ostream& out, uint32_t verbosity = 2) const;
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
~DatatypeDeclarationCommand() throw() {}
DatatypeDeclarationCommand(const std::vector<DatatypeType>& datatypes) throw();
const std::vector<DatatypeType>& getDatatypes() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
Expr getHead() const throw();
Expr getBody() const throw();
const Triggers& getTriggers() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
Expr getBody() const throw();
const Triggers& getTriggers() const throw();
bool isDeduction() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
ResetCommand() throw() {}
~ResetCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
ResetAssertionsCommand() throw() {}
~ResetAssertionsCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
public:
QuitCommand() throw() {}
~QuitCommand() throw() {}
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
CommentCommand(std::string comment) throw();
~CommentCommand() throw() {}
std::string getComment() const throw();
- void invoke(SmtEngine* smtEngine) throw();
+ void invoke(SmtEngine* smtEngine);
Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
void addCommand(Command* cmd) throw();
void clear() throw();
- void invoke(SmtEngine* smtEngine) throw();
- void invoke(SmtEngine* smtEngine, std::ostream& out) throw();
+ void invoke(SmtEngine* smtEngine);
+ void invoke(SmtEngine* smtEngine, std::ostream& out);
typedef std::vector<Command*>::iterator iterator;
typedef std::vector<Command*>::const_iterator const_iterator;