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
Collaboration diagram for ChannelModeVirtual< T >:
Collaboration graph

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

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

◆ ChannelModeVirtual()

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

Definition at line 196 of file modes.cpp.

◆ ~ChannelModeVirtual()

template<typename T >
ChannelModeVirtual< T >::~ChannelModeVirtual ( )

Definition at line 205 of file modes.cpp.

Member Function Documentation

◆ Unwrap()

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

Implemented in UnrealExtBan, and InspIRCdExtBan.

◆ Wrap()

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

Definition at line 216 of file modes.cpp.

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

Field Documentation

◆ base

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

◆ basech

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

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