AXCEL C++ Framework
Elegance through abstraction
Public Member Functions | Public Attributes
axcel::net::irc::msg Class Reference

IRC message. More...

#include <axcel.h>

Inheritance diagram for axcel::net::irc::msg:
axcel::object

List of all members.

Public Member Functions

virtual string type ()
 "net::irc::msg"
virtual operator string ()
 Get raw IRC message.
 msg (const char *line=0)
msgoperator= (const char *line)
bool operator== (const char *line)
bool operator!= (const char *line)
string server ()
 Get server name.
string nick ()
 Get nickname.
string user ()
 Get username.
string host ()
 Get user hostname.
string cmd ()
 Get IRC command.
string param (int index)
 Get IRC command argument.
string data ()
 Get message data.

Public Attributes

string buf
 Raw IRC message.

Detailed Description

IRC message.

Allows parsing of a 512-byte maximum
terminated IRC message.

Definition at line 2310 of file axcel.h.


Constructor & Destructor Documentation

axcel::net::irc::msg::msg ( const char *  line = 0)

Definition at line 6369 of file axcel.cpp.


Member Function Documentation

string axcel::net::irc::msg::cmd ( )

Get IRC command.

Definition at line 6392 of file axcel.cpp.

string axcel::net::irc::msg::data ( )

Get message data.

Definition at line 6400 of file axcel.cpp.

string axcel::net::irc::msg::host ( )

Get user hostname.

Definition at line 6388 of file axcel.cpp.

string axcel::net::irc::msg::nick ( )

Get nickname.

Definition at line 6377 of file axcel.cpp.

axcel::net::irc::msg::operator string ( ) [virtual]

Get raw IRC message.

Implements axcel::object.

Definition at line 267 of file axcel.cpp.

bool axcel::net::irc::msg::operator!= ( const char *  line)

Definition at line 6372 of file axcel.cpp.

msg & axcel::net::irc::msg::operator= ( const char *  line)

Definition at line 6370 of file axcel.cpp.

bool axcel::net::irc::msg::operator== ( const char *  line)

Definition at line 6371 of file axcel.cpp.

string axcel::net::irc::msg::param ( int  index)

Get IRC command argument.

Definition at line 6396 of file axcel.cpp.

string axcel::net::irc::msg::server ( )

Get server name.

Definition at line 6373 of file axcel.cpp.

string axcel::net::irc::msg::type ( ) [virtual]

"net::irc::msg"

Implements axcel::object.

Definition at line 264 of file axcel.cpp.

string axcel::net::irc::msg::user ( )

Get username.

Definition at line 6384 of file axcel.cpp.


Member Data Documentation

Raw IRC message.

Definition at line 2318 of file axcel.h.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerator Defines