Logo
~Sockets~
~Examples~
~Contact~

Help Class Reference
[Commands]

Command: list commands. More...

#include <Help.h>

Inheritance diagram for Help:

Inheritance graph
[legend]
Collaboration diagram for Help:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Help ()
void Execute (InSocket *, const std::string &params, Parse &)
 Execute command.
std::string Category ()
 Get command category.

Detailed Description

Command: list commands.

Definition at line 28 of file Help.h.


Constructor & Destructor Documentation

Help::Help (  )  [inline]

Definition at line 31 of file Help.h.

00031 : Command("help", '?') {}


Member Function Documentation

void Help::Execute ( InSocket ,
const std::string &  arg,
Parse &   
) [virtual]

Execute command.

Implements Command.

Definition at line 27 of file Help.cpp.

00028 {
00029         static_cast<FutureHandler&>(from -> Handler()).ShowHelp(from, params);
00030         from -> SetPrompt();
00031 }

std::string Help::Category (  )  [inline, virtual]

Get command category.

Implements Command.

Definition at line 35 of file Help.h.

00035 { return "General"; }


The documentation for this class was generated from the following files:
Page, code, and content Copyright (C) 2006 by Anders Hedström
Generated on Mon Aug 29 20:21:47 2005 for C++ Sockets by  doxygen 1.4.4