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

#include <Command.hh>

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

Public Member Functions

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.
virtual void tabCompletion (std::vector< std::string > &tokens) const =0
 Attempt tab completion for this command.

Protected Member Functions

 CommandCompleter (CommandController &commandController, string_ref name)
virtual ~CommandCompleter ()
GlobalCommandControllergetGlobalCommandController () const
InterpretergetInterpreter () const
CliCommgetCliComm () const
- Protected Member Functions inherited from openmsx::Completer
 Completer (string_ref name)
virtual ~Completer ()

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)

Detailed Description

Definition at line 16 of file Command.hh.

Constructor & Destructor Documentation

openmsx::CommandCompleter::CommandCompleter ( CommandController commandController,
string_ref  name 
)
protected
openmsx::CommandCompleter::~CommandCompleter ( )
protectedvirtual

Member Function Documentation

CliComm & openmsx::CommandCompleter::getCliComm ( ) const
protected
CommandController & openmsx::CommandCompleter::getCommandController ( ) const
GlobalCommandController & openmsx::CommandCompleter::getGlobalCommandController ( ) const
protected

Definition at line 41 of file Command.cc.

Referenced by getInterpreter().

Interpreter & openmsx::CommandCompleter::getInterpreter ( ) const
protected

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