ircpp::command Class Reference

The command represents an IRC command. More...

#include <command.h>

List of all members.


Detailed Description

The command represents an IRC command.

Each IRC message contains a command which identifies what it does.

This command is either a text string (e.g. PRIVMSG), or a numeric (e.g. 354). The command object unifies these so that all commands can be both compared and output as text.

Examples:

if(mycommand == PRIVMSG)

if(mycommand == 354)

cout << "Command is" << mycommand.str() << endl;


The documentation for this class was generated from the following files:
Generated on Sat Oct 13 23:35:41 2007 for libircpp by  doxygen 1.5.3