Main Page | Class Hierarchy | Class List | Class Members

IC_Command Class Reference

the command class More...

#include <console.h>

Inheritance diagram for IC_Command:

TestCommand_HIDENODE TestCommand_SHOWNODE List of all members.

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 ""

Detailed Description

the command class


The documentation for this class was generated from the following file:
Generated on Tue Feb 8 11:13:18 2005 for IrrConsole by  doxygen 1.3.9.1