|
openMSX
|


Public Member Functions | |
| UnbindCmd (CommandController &commandController, HotKey &hotKey, bool defaultCmd) | |
| virtual string | execute (const vector< string > &tokens) |
| Alternative for the execute() method above. | |
| virtual string | help (const vector< string > &tokens) const |
| Print help for this command. | |
Public Member Functions inherited from openmsx::Command | |
| virtual void | execute (const std::vector< TclObject > &tokens, TclObject &result) |
| Execute this command. | |
| virtual void | tabCompletion (std::vector< std::string > &tokens) const |
| Attempt tab completion for this command. | |
| void | setAllowedInEmptyMachine (bool value) |
| bool | isAllowedInEmptyMachine () const |
Public Member Functions inherited from openmsx::CommandCompleter | |
| CommandController & | getCommandController () const |
Public Member Functions inherited from openmsx::Completer | |
| const std::string & | getName () const |
Additional Inherited Members | |
Static Public Member Functions inherited from openmsx::Completer | |
| template<typename RANGE > | |
| static void | completeString (std::vector< std::string > &tokens, const RANGE &possibleValues, bool caseSensitive=true) |
| template<typename RANGE > | |
| static void | completeFileName (std::vector< std::string > &tokens, const FileContext &context, const RANGE &extra) |
| static void | completeFileName (std::vector< std::string > &tokens, const FileContext &context) |
| static void | setOutput (InterpreterOutput *output) |
Protected Member Functions inherited from openmsx::Command | |
| Command (CommandController &commandController, string_ref name) | |
| virtual | ~Command () |
| openmsx::UnbindCmd::UnbindCmd | ( | CommandController & | commandController, |
| HotKey & | hotKey, | ||
| bool | defaultCmd | ||
| ) |
|
virtual |
Alternative for the execute() method above.
It has a simpler interface, but performance is a bit lower. Subclasses should override either this method or the one above.
Reimplemented from openmsx::Command.
|
virtual |
Print help for this command.
Implements openmsx::Completer.
1.8.1.2