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

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 ( const Anope::string modename,
char  modeChar 
)
inline

Definition at line 240 of file inspircd20.cpp.

Member Function Documentation

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

Is the param valid

Parameters
valueThe param
Returns
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().

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

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