OpenASIP
2.0
|
#include <CommandsCommand.hh>
Additional Inherited Members | |
Protected Member Functions inherited from SimControlLanguageCommand | |
bool | setMemoryAddress (const std::string &addressString, std::string &addressSpaceName, std::size_t &memoryAddress) |
bool | setMemoryPointer (MemorySystem::MemoryPtr &memory, const std::string &addressSpaceName) |
Implementation of the "commands" command of the Simulator Control Language.
Definition at line 47 of file CommandsCommand.hh.
CommandsCommand::CommandsCommand | ( | ) |
Constructor.
Sets the name of the command to the base class.
Definition at line 52 of file CommandsCommand.cc.
|
virtual |
|
virtual |
Executes the "commands" command.
Displays the given count of entries in the command history log.
arguments | The count of entries to be printed. |
NumberFormatException | Is never thrown by this command. |
Implements CustomCommand.
Definition at line 75 of file CommandsCommand.cc.
References CustomCommand::checkArgumentCount(), CustomCommand::checkPositiveIntegerArgument(), CustomCommand::interpreter(), SimControlLanguageCommand::outputStream(), and StringTools::trim().
|
virtual |
Returns the help text for this command.
Help text is searched from SimulatorTextGenerator.
Implements CustomCommand.
Definition at line 109 of file CommandsCommand.cc.
References Texts::TextGenerator::text(), SimulatorToolbox::textGenerator(), and Texts::TXT_INTERP_HELP_COMMANDS.