openMSX
Public Member Functions | List of all members
openmsx::InfoCommand Class Reference

#include <InfoCommand.hh>

Inheritance diagram for openmsx::InfoCommand:
Inheritance graph
[legend]
Collaboration diagram for openmsx::InfoCommand:
Collaboration graph
[legend]

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
CommandControllergetCommandController () 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 ()

Detailed Description

Definition at line 11 of file InfoCommand.hh.

Constructor & Destructor Documentation

openmsx::InfoCommand::InfoCommand ( CommandController commandController,
const std::string &  name 
)

Definition at line 18 of file InfoCommand.cc.

openmsx::InfoCommand::~InfoCommand ( )
virtual

Definition at line 23 of file InfoCommand.cc.

References StringMapImpl::empty().

Member Function Documentation

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 
)

The documentation for this class was generated from the following files: