|
openMSX
|
#include <InfoCommand.hh>


Public Member Functions | |
| InfoCommand (CommandController &commandController, const std::string &name) | |
| virtual | ~InfoCommand () |
| void | registerTopic (InfoTopic &topic, string_ref name) |
| void | unregisterTopic (InfoTopic &topic, string_ref name) |
Public Member Functions inherited from openmsx::Command | |
| virtual void | execute (const std::vector< TclObject > &tokens, TclObject &result) |
| Execute this command. | |
| virtual std::string | execute (const std::vector< std::string > &tokens) |
| Alternative for the execute() method above. | |
| 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 |
| virtual std::string | help (const std::vector< std::string > &tokens) const =0 |
| Print help for this command. | |
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 () |
Definition at line 11 of file InfoCommand.hh.
| openmsx::InfoCommand::InfoCommand | ( | CommandController & | commandController, |
| const std::string & | name | ||
| ) |
Definition at line 18 of file InfoCommand.cc.
|
virtual |
Definition at line 23 of file InfoCommand.cc.
References StringMapImpl::empty().
| void openmsx::InfoCommand::registerTopic | ( | InfoTopic & | topic, |
| string_ref | name | ||
| ) |
Definition at line 28 of file InfoCommand.cc.
References StringMap< T >::end(), StringMap< T >::find(), and UNREACHABLE.
Referenced by openmsx::InfoTopic::InfoTopic().
| void openmsx::InfoCommand::unregisterTopic | ( | InfoTopic & | topic, |
| string_ref | name | ||
| ) |
Definition at line 40 of file InfoCommand.cc.
References StringMap< T >::end(), StringMap< T >::erase(), StringMap< T >::find(), and UNREACHABLE.
Referenced by openmsx::InfoTopic::~InfoTopic().
1.8.1.2