ChannelDefinition Class Reference

#include <ChannelText.h>

List of all members.

Public Types

enum  ChannelDefinitionTypes { eReadOnlyChannel = 1, eWhisperChannel = 2 }

Public Member Functions

 ChannelDefinition (const char *channel="", unsigned int type=0)
const char * getChannel ()
void setChannel (const char *c)
unsigned int getType ()
void setType (unsigned int t)

Protected Attributes

std::string channel_
unsigned int type_


Detailed Description

Definition at line 28 of file ChannelText.h.


Member Enumeration Documentation

enum ChannelDefinition::ChannelDefinitionTypes

Enumerator:
eReadOnlyChannel 
eWhisperChannel 

Definition at line 31 of file ChannelText.h.


Constructor & Destructor Documentation

ChannelDefinition::ChannelDefinition ( const char *  channel = "",
unsigned int  type = 0 
)

Definition at line 202 of file ChannelText.cpp.


Member Function Documentation

const char* ChannelDefinition::getChannel (  )  [inline]

Definition at line 40 of file ChannelText.h.

References channel_.

Referenced by ServerChannelManager::ChannelEntry::getName().

void ChannelDefinition::setChannel ( const char *  c  )  [inline]

Definition at line 41 of file ChannelText.h.

References channel_.

unsigned int ChannelDefinition::getType (  )  [inline]

Definition at line 43 of file ChannelText.h.

References type_.

Referenced by ServerChannelManager::processMessage().

void ChannelDefinition::setType ( unsigned int  t  )  [inline]

Definition at line 44 of file ChannelText.h.

References type_.


Member Data Documentation

std::string ChannelDefinition::channel_ [protected]

Definition at line 47 of file ChannelText.h.

Referenced by getChannel(), and setChannel().

unsigned int ChannelDefinition::type_ [protected]

Definition at line 48 of file ChannelText.h.

Referenced by getType(), and setType().


The documentation for this class was generated from the following files:
Generated on Mon Feb 16 15:15:00 2009 for Scorched3D by  doxygen 1.5.3