room Class Reference

Information on the status of a chat room. More...

#include <room.h>

List of all members.

Public Member Functions

 room (std::string roomname="")
string state ()

Public Attributes

std::string name
 Name of the room, written before each line in the world chat box.
std::string description
 Longer name in the channel list and on top of a seperate channel box.
int type
bool silenced
 Only moderators can talk in this room state.
class memberleader
std::map
< std::string,
room_member
members
 Set of people in the channel with their login time mapped with their alias.


Detailed Description

Information on the status of a chat room.

Constructor & Destructor Documentation

room::room ( std::string  roomname = ""  )  [inline]


Member Function Documentation

string room::state (  )  [inline]


Member Data Documentation

std::string room::name

Name of the room, written before each line in the world chat box.

std::string room::description

Longer name in the channel list and on top of a seperate channel box.

int room::type

bool room::silenced

Only moderators can talk in this room state.

class member* room::leader

The creator of the channel

Can be someone that is appointed as new leader by the current one When the leader leaves the room the moderator with the longest login becomes leader

std::map<std::string, room_member> room::members

Set of people in the channel with their login time mapped with their alias.


The documentation for this class was generated from the following file:

Generated on Tue Jan 1 17:30:02 2008 for room Class Reference by  doxygen   Visit the project page on SourceForge.net Logo