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

Public Member Functions

 SimpleNumberParamMode (const Anope::string &modename, char modeChar)
bool IsValid (Anope::string &value) const anope_override
- 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 286 of file inspircd20.cpp.

Constructor & Destructor Documentation

◆ SimpleNumberParamMode()

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

Definition at line 289 of file inspircd20.cpp.

Member Function Documentation

◆ IsValid()

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

Is the param valid

valueThe param
true for yes, false for no

Reimplemented from ChannelModeParam.

Definition at line 291 of file inspircd20.cpp.

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