Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
ChannelStatus Class Reference

#include <modes.h>

Collaboration diagram for ChannelStatus:
Collaboration graph

Public Member Functions

 ChannelStatus ()
 ChannelStatus (const Anope::string &modes)
void AddMode (char c)
void DelMode (char c)
bool HasMode (char c) const
bool Empty () const
void Clear ()
const Anope::stringModes () const
Anope::string BuildModePrefixList () const

Private Attributes

Anope::string modes

Detailed Description

Definition at line 224 of file modes.h.

Constructor & Destructor Documentation

ChannelStatus::ChannelStatus ( )

Definition at line 62 of file modes.cpp.

ChannelStatus::ChannelStatus ( const Anope::string modes)

Definition at line 66 of file modes.cpp.

Member Function Documentation

void ChannelStatus::AddMode ( char  c)
Anope::string ChannelStatus::BuildModePrefixList ( ) const
void ChannelStatus::Clear ( )
void ChannelStatus::DelMode ( char  c)

Definition at line 76 of file modes.cpp.

References modes, and Anope::string::replace_all_cs().

Referenced by Channel::RemoveModeInternal().

bool ChannelStatus::Empty ( ) const

Definition at line 86 of file modes.cpp.

References Anope::string::empty(), and modes.

Referenced by Channel::HasUserStatus().

bool ChannelStatus::HasMode ( char  c) const
const Anope::string & ChannelStatus::Modes ( ) const

Field Documentation

Anope::string ChannelStatus::modes

Definition at line 226 of file modes.h.

Referenced by AddMode(), BuildModePrefixList(), Clear(), DelMode(), Empty(), HasMode(), and Modes().

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