#include <console.h>
Inheritance diagram for IC_Command:

Public Member Functions | |
| virtual | ~IC_Command () |
| the destructor | |
| virtual bool | invoke (const array< WideString > &args, IC_Dispatcher *pDispatcher, IC_MessageSink *pOutput)=0 |
| invoke the command with supplied args | |
| const WideString | getName () |
| get command name | |
| const WideString | getUsage () |
| get the usage string for the command | |
| const irr::u32 | getDescLineCount () |
| get the description line count | |
| const WideString | getDescLine (const u32 index) |
| get the desc line at | |
| void | printUsage (IC_MessageSink *pOutput) |
| print the usage to the message sink | |
| void | printDesc (IC_MessageSink *pOutput) |
| print the description to the message sink | |
Protected Member Functions | |
| IC_Command (const WideString name) | |
| constructor | |
| void | setUsage (const WideString usage) |
| set usage | |
| void | addDescLine (const WideString line) |
| append a line to the desc array | |
| void | clearDescLines () |
| set descrition to "" | |
1.3.9.1