Anope IRC Services  Version 2.0
Public Member Functions
UserModeParam Class Reference

#include <modes.h>

Inheritance diagram for UserModeParam:
Inheritance graph
Collaboration diagram for UserModeParam:
Collaboration graph

Public Member Functions

 UserModeParam (const Anope::string &name, char mc)
virtual bool IsValid (Anope::string &value) const
- Public Member Functions inherited from UserMode
 UserMode (const Anope::string &name, char mc)
- Public Member Functions inherited from Mode
 Mode (const Anope::string &mname, ModeClass mclass, char mc, ModeType type)
virtual ~Mode ()
virtual bool CanSet (User *u) const
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Additional Inherited Members

- Data Fields inherited from Mode
Anope::string name
ModeClass mclass
char mchar
ModeType type

Detailed Description

Definition at line 78 of file modes.h.

Constructor & Destructor Documentation

◆ UserModeParam()

UserModeParam::UserModeParam ( const Anope::string name,
char  mc 


nameThe mode name
mcThe mode char

Definition at line 135 of file modes.cpp.

References MODE_PARAM, and Mode::type.

Member Function Documentation

◆ IsValid()

virtual bool UserModeParam::IsValid ( Anope::string value) const

Check if the param is valid

valueThe param
true or false

Definition at line 91 of file modes.h.

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