Anope IRC Services  Version 2.0
Public Member Functions | Private Attributes
ChannelModeVirtual< T > Class Template Referenceabstract

#include <modes.h>

Inheritance diagram for ChannelModeVirtual< T >:
Inheritance graph
[legend]
Collaboration diagram for ChannelModeVirtual< T >:
Collaboration graph
[legend]

Public Member Functions

 ChannelModeVirtual (const Anope::string &mname, const Anope::string &basename)
 
 ~ChannelModeVirtual ()
 
ChannelModeWrap (Anope::string &param) anope_override
 
ChannelModeUnwrap (ChannelMode *cm, Anope::string &param)=0
 

Private Attributes

Anope::string base
 
ChannelModebasech
 

Detailed Description

template<typename T>
class ChannelModeVirtual< T >

A virtual mode. This mode doesn't natively exist on the IRCd (like extbans), but we still have a representation for it.

Definition at line 208 of file modes.h.

Constructor & Destructor Documentation

template<typename T >
ChannelModeVirtual< T >::ChannelModeVirtual ( const Anope::string mname,
const Anope::string basename 
)
template<typename T >
ChannelModeVirtual< T >::~ChannelModeVirtual ( )

Definition at line 205 of file modes.cpp.

Member Function Documentation

template<typename T>
ChannelMode* ChannelModeVirtual< T >::Unwrap ( ChannelMode cm,
Anope::string param 
)
pure virtual

Implemented in UnrealExtBan, and InspIRCdExtBan.

template<typename T >
ChannelMode * ChannelModeVirtual< T >::Wrap ( Anope::string param)

Definition at line 216 of file modes.cpp.

References ModeManager::FindChannelModeByName().

Referenced by InspIRCdExtBan::Wrap(), and UnrealExtBan::Wrap().

Field Documentation

template<typename T>
Anope::string ChannelModeVirtual< T >::base
private

Definition at line 210 of file modes.h.

Referenced by ChannelModeVirtual< T >::ChannelModeVirtual().

template<typename T>
ChannelMode* ChannelModeVirtual< T >::basech
private

Definition at line 211 of file modes.h.

Referenced by ChannelModeVirtual< T >::ChannelModeVirtual().


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