Public Types | |
typedef CommandInfoObject < EditorCommand > | CommandCommand |
The type of a CommandInfoObject for this Editor. | |
Public Member Functions | |
std::string | name () |
Returns the name of this editor. | |
std::string | prompt () |
Returns the prompt for this editor. | |
std::string | lookup (const std::string &action) |
Returns the full name of a command of the specified action. | |
void | dispatch (const std::string &action, const std::string &argument) |
Dispatches the specified action with the specified argument. |
Definition at line 29 of file EditorCommand.h.
std::string EditorCommand::name | ( | ) | [inline, virtual] |
std::string EditorCommand::prompt | ( | ) | [inline, virtual] |
Returns the prompt for this editor.
Reimplemented from Editor.
Definition at line 38 of file EditorCommand.h.
std::string EditorCommand::lookup | ( | const std::string & | action | ) | [virtual] |
void EditorCommand::dispatch | ( | const std::string & | action, | |
const std::string & | argument | |||
) | [virtual] |