Stores a pointer to a CommandParser sub-class and one of its methods.
More...
#include <CommandParser.h>
|
| Command (Parser *_instance, Method _method, const std::string &_command, const std::string &_help, const std::string &_detailed_help, char _shortcut) |
|
std::string | execute (const std::string &args) |
| Execute method.
|
|
std::string | detail () const |
|
|
Method | method |
| Method of the sub-class to execute.
|
|
Parser * | instance |
| Instance through which method is called.
|
|
std::string | detailed_help |
| The detailed help string for this method.
|
|
|
Public Attributes inherited from CommandParser::Method |
std::string | command |
| The command string corresponding to this method.
|
|
std::string | help |
| The help string for this method.
|
|
char | shortcut |
| The shortcut character corresponding to this method.
|
|
template<class Parser>
class Command< Parser >
Stores a pointer to a CommandParser sub-class and one of its methods.
The documentation for this class was generated from the following file: