Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Protected Attributes
ExceptionDelCallback Class Reference
Inheritance diagram for ExceptionDelCallback:
Inheritance graph
[legend]
Collaboration diagram for ExceptionDelCallback:
Collaboration graph
[legend]

Public Member Functions

 ExceptionDelCallback (CommandSource &_source, const Anope::string &numlist, Command *c)
 
 ~ExceptionDelCallback ()
 
virtual void HandleNumber (unsigned number) anope_override
 
- Public Member Functions inherited from NumberList
 NumberList (const Anope::string &list, bool descending)
 
virtual ~NumberList ()
 
void Process ()
 
virtual bool InvalidRange (const Anope::string &list)
 

Static Public Member Functions

static void DoDel (CommandSource &source, unsigned index)
 

Protected Attributes

CommandSourcesource
 
unsigned deleted
 
Commandcmd
 

Detailed Description

Definition at line 131 of file os_session.cpp.

Constructor & Destructor Documentation

ExceptionDelCallback::ExceptionDelCallback ( CommandSource _source,
const Anope::string numlist,
Command c 
)
inline

Definition at line 138 of file os_session.cpp.

ExceptionDelCallback::~ExceptionDelCallback ( )
inline

Definition at line 142 of file os_session.cpp.

References _, and CommandSource::Reply().

Member Function Documentation

static void ExceptionDelCallback::DoDel ( CommandSource source,
unsigned  index 
)
inlinestatic

Definition at line 163 of file os_session.cpp.

References FOREACH_MOD, and session_service().

Referenced by CommandOSException::DoDel(), and HandleNumber().

virtual void ExceptionDelCallback::HandleNumber ( unsigned  number)
inlinevirtual

Called with a number from the list

Parameters
numberThe number

Reimplemented from NumberList.

Definition at line 152 of file os_session.cpp.

References deleted, DoDel(), LOG_ADMIN, and session_service().

Field Documentation

Command* ExceptionDelCallback::cmd
protected

Definition at line 136 of file os_session.cpp.

unsigned ExceptionDelCallback::deleted
protected

Definition at line 135 of file os_session.cpp.

Referenced by HandleNumber().

CommandSource& ExceptionDelCallback::source
protected

Definition at line 134 of file os_session.cpp.


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