/* class GetModelCommand */
-GetModelCommand::GetModelCommand() throw() {
-}
+GetModelCommand::GetModelCommand() throw()
+ : d_result(nullptr), d_smtEngine(nullptr) {}
void GetModelCommand::invoke(SmtEngine* smtEngine) {
try {
/* class GetProofCommand */
-GetProofCommand::GetProofCommand() throw() {
-}
+GetProofCommand::GetProofCommand() throw()
+ : d_result(nullptr), d_smtEngine(nullptr) {}
void GetProofCommand::invoke(SmtEngine* smtEngine) {
try {
};/* class GetAssignmentCommand */
class CVC4_PUBLIC GetModelCommand : public Command {
-protected:
- Model* d_result;
- SmtEngine* d_smtEngine;
-public:
+ public:
GetModelCommand() throw();
~GetModelCommand() throw() {}
void invoke(SmtEngine* smtEngine);
// Model is private to the library -- for now
- //Model* getResult() const throw();
+ // Model* getResult() const throw();
void printResult(std::ostream& out, uint32_t verbosity = 2) const;
- Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
+ Command* exportTo(ExprManager* exprManager,
+ ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
-};/* class GetModelCommand */
-class CVC4_PUBLIC GetProofCommand : public Command {
-protected:
- Proof* d_result;
+ protected:
+ Model* d_result;
SmtEngine* d_smtEngine;
-public:
+}; /* class GetModelCommand */
+
+class CVC4_PUBLIC GetProofCommand : public Command {
+ public:
GetProofCommand() throw();
~GetProofCommand() throw() {}
void invoke(SmtEngine* smtEngine);
Proof* getResult() const throw();
void printResult(std::ostream& out, uint32_t verbosity = 2) const;
- Command* exportTo(ExprManager* exprManager, ExprManagerMapCollection& variableMap);
+ Command* exportTo(ExprManager* exprManager,
+ ExprManagerMapCollection& variableMap);
Command* clone() const;
std::string getCommandName() const throw();
-};/* class GetProofCommand */
+
+ protected:
+ Proof* d_result;
+ SmtEngine* d_smtEngine;
+}; /* class GetProofCommand */
class CVC4_PUBLIC GetInstantiationsCommand : public Command {
public: