s_online_channel Struct Reference

#include <shared.h>

Collaboration diagram for s_online_channel:

Collaboration graph
[legend]
List of all members.

Detailed Description

Stores channels information on wich the bot is.

Author:
VooDooMan
Version:
1
Date:
2004

Definition at line 1153 of file shared.h.

Public Member Functions

void clear ()
 s_online_channel ()

Public Attributes

bool b_bans_sent
 Have we send "MODE #channel +b" yet?
bool b_excepts_sent
 Have we sent "MODE #channel +e" yet?
bool b_invites_sent
 Have we sent "MODE #channel +I" yet?
bool b_reops_sent
 Have we sent "MODE #channel +R" yet?
vector< string > bans
 List of ban masks.
vector< string > excepts
 If got_excepts == true: list of +e exceptions - NOTE: clear, if irc network doesn't support +e exceptions to bans.
bool got_excepts
 Have we got exceptions (+e) of bans? (MODE #channel +e) - NOTE: even if irc network doesn't support +e exceptions, this is set to true if error response was sent by server to command MODE #channel +e.
bool got_invites
 Have we got invitations (+I)?
bool got_reops
 Have we got reop hints (+R)?
vector< string > invites
 List of invitations (+I).
string key
 Channel's key (or an empty string for none).
string limit
 Channel's limit (or an empty string for none).
string modes
 Channel modes.
string name
 Name of channel.
vector< string > reops
 List of reop hints (+R).
string topic
 Channel's topic.
vector< s_online_userusers
 List of users on this channel.


Constructor & Destructor Documentation

s_online_channel::s_online_channel  )  [inline]
 

Definition at line 1178 of file shared.h.

References clear().

01179     {
01180         clear();
01181     }    

Here is the call graph for this function:


Member Function Documentation

void s_online_channel::clear  )  [inline]
 

Definition at line 1183 of file shared.h.

References b_bans_sent, b_excepts_sent, b_invites_sent, b_reops_sent, bans, excepts, got_excepts, got_invites, got_reops, invites, key, limit, modes, name, reops, topic, and users.

Referenced by s_online_channel().

01184     {
01185         name="";
01186         modes="";
01187         topic="";
01188         key=limit="";
01189         users.clear();
01190         bans.clear();
01191         got_excepts=false;
01192         excepts.clear();
01193         got_invites=false;
01194         got_reops=false;
01195         reops.clear();
01196         b_reops_sent=b_excepts_sent=b_invites_sent=b_bans_sent=false;
01197         invites.clear();
01198     }


Member Data Documentation

bool s_online_channel::b_bans_sent
 

Have we send "MODE #channel +b" yet?

Definition at line 1163 of file shared.h.

Referenced by clear(), irc_check_bans(), irc_loop_process_input(), irc_on_notice(), irc_on_privmsg(), and irc_RPL_NAMREPLY().

bool s_online_channel::b_excepts_sent
 

Have we sent "MODE #channel +e" yet?

Definition at line 1161 of file shared.h.

Referenced by clear(), irc_loop_process_input(), irc_on_notice(), irc_on_privmsg(), and irc_RPL_NAMREPLY().

bool s_online_channel::b_invites_sent
 

Have we sent "MODE #channel +I" yet?

Definition at line 1162 of file shared.h.

Referenced by clear(), irc_check_invites(), irc_loop_process_input(), irc_on_notice(), irc_on_privmsg(), and irc_RPL_NAMREPLY().

bool s_online_channel::b_reops_sent
 

Have we sent "MODE #channel +R" yet?

Definition at line 1164 of file shared.h.

Referenced by clear(), and irc_RPL_NAMREPLY().

vector<string> s_online_channel::bans
 

List of ban masks.

Definition at line 1168 of file shared.h.

Referenced by clear(), irc_loop_process_input(), and irc_RPL_NAMREPLY().

vector<string> s_online_channel::excepts
 

If got_excepts == true: list of +e exceptions - NOTE: clear, if irc network doesn't support +e exceptions to bans.

Definition at line 1170 of file shared.h.

Referenced by clear(), irc_loop_process_input(), and irc_RPL_NAMREPLY().

bool s_online_channel::got_excepts
 

Have we got exceptions (+e) of bans? (MODE #channel +e) - NOTE: even if irc network doesn't support +e exceptions, this is set to true if error response was sent by server to command MODE #channel +e.

Definition at line 1169 of file shared.h.

Referenced by clear(), and irc_loop_process_input().

bool s_online_channel::got_invites
 

Have we got invitations (+I)?

Definition at line 1172 of file shared.h.

Referenced by clear(), and irc_loop_process_input().

bool s_online_channel::got_reops
 

Have we got reop hints (+R)?

Definition at line 1175 of file shared.h.

Referenced by clear().

vector<string> s_online_channel::invites
 

List of invitations (+I).

Definition at line 1173 of file shared.h.

Referenced by clear(), and irc_loop_process_input().

string s_online_channel::key
 

Channel's key (or an empty string for none).

Definition at line 1158 of file shared.h.

Referenced by clear().

string s_online_channel::limit
 

Channel's limit (or an empty string for none).

Definition at line 1159 of file shared.h.

Referenced by clear().

string s_online_channel::modes
 

Channel modes.

Definition at line 1156 of file shared.h.

Referenced by clear(), irc_loop_process_input(), and irc_RPL_NAMREPLY().

string s_online_channel::name
 

Name of channel.

Definition at line 1154 of file shared.h.

Referenced by clear(), irc_loop_process_input(), irc_on_notice(), irc_on_privmsg(), and irc_RPL_NAMREPLY().

vector<string> s_online_channel::reops
 

List of reop hints (+R).

Definition at line 1176 of file shared.h.

Referenced by clear(), and irc_RPL_NAMREPLY().

string s_online_channel::topic
 

Channel's topic.

Definition at line 1157 of file shared.h.

Referenced by clear(), irc_loop_process_input(), and irc_RPL_NAMREPLY().

vector<s_online_user> s_online_channel::users
 

List of users on this channel.

Definition at line 1166 of file shared.h.

Referenced by clear(), irc_loop_process_input(), irc_on_notice(), irc_on_privmsg(), and irc_RPL_NAMREPLY().


The documentation for this struct was generated from the following file:
Generated on Sun Jul 10 05:45:49 2005 for VooDoo cIRCle by doxygen 1.4.3

Hosted by SourceForge.net Logo