Anope IRC Services  Version 2.0
Public Member Functions
ColonDelimitedParamMode Class Reference
Inheritance diagram for ColonDelimitedParamMode:
Inheritance graph
Collaboration diagram for ColonDelimitedParamMode:
Collaboration graph

Public Member Functions

 ColonDelimitedParamMode (const Anope::string &modename, char modeChar)
bool IsValid (Anope::string &value) const anope_override
bool IsValid (const Anope::string &value, bool historymode) const
- Public Member Functions inherited from ChannelModeParam
 ChannelModeParam (const Anope::string &name, char mc, bool minus_no_arg=false)
- Public Member Functions inherited from ChannelMode
 ChannelMode (const Anope::string &name, char mc)
bool CanSet (User *u) const anope_override
virtual ChannelModeWrap (Anope::string &param)
ChannelModeUnwrap (Anope::string &param)
virtual ChannelModeUnwrap (ChannelMode *, Anope::string &param)
- Public Member Functions inherited from Mode
 Mode (const Anope::string &mname, ModeClass mclass, char mc, ModeType type)
virtual ~Mode ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Data Fields inherited from ChannelModeParam
bool minus_no_arg
- Data Fields inherited from ChannelMode
std::vector< ChannelMode * > listeners
- Data Fields inherited from Mode
Anope::string name
ModeClass mclass
char mchar
ModeType type

Detailed Description

Definition at line 237 of file inspircd20.cpp.

Constructor & Destructor Documentation

◆ ColonDelimitedParamMode()

ColonDelimitedParamMode::ColonDelimitedParamMode ( const Anope::string modename,
char  modeChar 

Definition at line 240 of file inspircd20.cpp.

Member Function Documentation

◆ IsValid() [1/2]

bool ColonDelimitedParamMode::IsValid ( Anope::string value) const

Is the param valid

valueThe param
true for yes, false for no

Reimplemented from ChannelModeParam.

Reimplemented in ChannelModeFlood, ChannelModeHistory, and ChannelModeFlood.

Definition at line 242 of file inspircd20.cpp.

Referenced by ChannelModeFlood::IsValid(), and ChannelModeHistory::IsValid().

◆ IsValid() [2/2]

bool ColonDelimitedParamMode::IsValid ( const Anope::string value,
bool  historymode 
) const

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