|
int | Main (const std::vector< str16 > &tokens) |
| Executes the command with the provided tokens.
|
|
| CShellCmd (const char *name_) |
| Constructor for CShellCmd.
|
|
|
bool | ShowHelp (const std::vector< str16 > &tokens, const char *help) |
| Displays help information for the command.
|
|
◆ CShellCmd()
CShellCmd::CShellCmd |
( |
const char * | name_ | ) |
|
Constructor for CShellCmd.
- Parameters
-
name_ | The name of the command. |
◆ Main()
int CShellCmd::Main |
( |
const std::vector< str16 > & | tokens | ) |
|
|
inline |
Executes the command with the provided tokens.
- Parameters
-
tokens | The command line arguments passed to the command. |
- Returns
- The return value indicates the success or failure of the command.
◆ ShowHelp()
bool CShellCmd::ShowHelp |
( |
const std::vector< str16 > & | tokens, |
|
|
const char * | help ) |
|
protected |
Displays help information for the command.
- Parameters
-
tokens | The command line arguments passed to the command. |
help | The help message to display. |
- Returns
- Returns true if help was displayed, false otherwise.
The documentation for this class was generated from the following files: