#include <command.h>
|
| DeclareTypeCommand (const std::string &id, size_t arity, Type t) throw () |
|
| ~DeclareTypeCommand () throw () |
|
size_t | getArity () const throw () |
|
Type | getType () const throw () |
|
void | invoke (SmtEngine *smtEngine) throw () |
|
Command * | exportTo (ExprManager *exprManager, ExprManagerMapCollection &variableMap) |
| Maps this Command into one for a different ExprManager, using variableMap for the translation and extending it with any new mappings. More...
|
|
Command * | clone () const |
| Clone this Command (make a shallow copy). More...
|
|
std::string | getCommandName () const throw () |
|
virtual void | invoke (SmtEngine *smtEngine, std::ostream &out) throw () |
|
std::string | getSymbol () const throw () |
|
virtual void | toStream (std::ostream &out, int toDepth=-1, bool types=false, size_t dag=1, OutputLanguage language=language::output::LANG_AST) const throw () |
|
std::string | toString () const throw () |
|
void | setMuted (bool muted) throw () |
| If false, instruct this Command not to print a success message. More...
|
|
bool | isMuted () throw () |
| Determine whether this Command will print a success message. More...
|
|
bool | ok () const throw () |
| Either the command hasn't run yet, or it completed successfully (CommandSuccess, not CommandUnsupported or CommandFailure). More...
|
|
bool | fail () const throw () |
| The command completed in a failure state (CommandFailure, not CommandSuccess or CommandUnsupported). More...
|
|
const CommandStatus * | getCommandStatus () const throw () |
| Get the command status (it's NULL if we haven't run yet). More...
|
|
virtual void | printResult (std::ostream &out, uint32_t verbosity=2) const throw () |
|
Definition at line 365 of file command.h.
CVC4::DeclareTypeCommand::DeclareTypeCommand |
( |
const std::string & |
id, |
|
|
size_t |
arity, |
|
|
Type |
t |
|
) |
| |
throw | ( | |
| ) | | |
CVC4::DeclareTypeCommand::~DeclareTypeCommand |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inline |
Command* CVC4::DeclareTypeCommand::clone |
( |
| ) |
const |
|
virtual |
Maps this Command into one for a different ExprManager, using variableMap for the translation and extending it with any new mappings.
Implements CVC4::Command.
bool CVC4::Command::fail |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inherited |
size_t CVC4::DeclareTypeCommand::getArity |
( |
| ) |
const |
throw | ( | |
| ) | | |
std::string CVC4::DeclareTypeCommand::getCommandName |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
virtual |
const CommandStatus* CVC4::Command::getCommandStatus |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inlineinherited |
Get the command status (it's NULL if we haven't run yet).
Definition at line 243 of file command.h.
std::string CVC4::DeclarationDefinitionCommand::getSymbol |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inherited |
Type CVC4::DeclareTypeCommand::getType |
( |
| ) |
const |
throw | ( | |
| ) | | |
virtual void CVC4::Command::invoke |
( |
SmtEngine * |
smtEngine, |
|
|
std::ostream & |
out |
|
) |
| |
throw | ( | |
| ) | | |
|
virtualinherited |
void CVC4::DeclareTypeCommand::invoke |
( |
SmtEngine * |
smtEngine | ) |
|
throw | ( | |
| ) | | |
|
virtual |
bool CVC4::Command::isMuted |
( |
| ) |
|
throw | ( | |
| ) | | |
|
inlineinherited |
Determine whether this Command will print a success message.
Definition at line 228 of file command.h.
bool CVC4::Command::ok |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inherited |
virtual void CVC4::Command::printResult |
( |
std::ostream & |
out, |
|
|
uint32_t |
verbosity = 2 |
|
) |
| const |
throw | ( | |
| ) | | |
|
virtualinherited |
Reimplemented in CVC4::GetOptionCommand, CVC4::GetInfoCommand, CVC4::GetAssertionsCommand, CVC4::GetUnsatCoreCommand, CVC4::GetProofCommand, CVC4::GetModelCommand, CVC4::GetAssignmentCommand, CVC4::GetValueCommand, CVC4::ExpandDefinitionsCommand, CVC4::SimplifyCommand, CVC4::QueryCommand, and CVC4::CheckSatCommand.
void CVC4::Command::setMuted |
( |
bool |
muted | ) |
|
throw | ( | |
| ) | | |
|
inlineinherited |
If false, instruct this Command not to print a success message.
Definition at line 223 of file command.h.
std::string CVC4::Command::toString |
( |
| ) |
const |
throw | ( | |
| ) | | |
|
inherited |
size_t CVC4::DeclareTypeCommand::d_arity |
|
protected |
This field contains a command status if the command has been invoked, or NULL if it has not.
This field is either a dynamically-allocated pointer, or it's a pointer to the singleton CommandSuccess instance. Doing so is somewhat asymmetric, but it avoids the need to dynamically allocate memory in the common case of a successful command.
Definition at line 194 of file command.h.
bool CVC4::Command::d_muted |
|
protectedinherited |
True if this command is "muted"—i.e., don't print "success" on successful execution.
Definition at line 200 of file command.h.
std::string CVC4::DeclarationDefinitionCommand::d_symbol |
|
protectedinherited |
Type CVC4::DeclareTypeCommand::d_type |
|
protected |
The documentation for this class was generated from the following file: