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

Public Member Functions

 MemoListCallback (CommandSource &_source, MemoInfo *_mi, const ChannelInfo *_ci, const Anope::string &numlist)
 
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 DoRead (CommandSource &source, MemoInfo *mi, const ChannelInfo *ci, unsigned index)
 

Private Attributes

CommandSourcesource
 
MemoInfomi
 
const ChannelInfoci
 

Detailed Description

Definition at line 50 of file ms_read.cpp.

Constructor & Destructor Documentation

MemoListCallback::MemoListCallback ( CommandSource _source,
MemoInfo _mi,
const ChannelInfo _ci,
const Anope::string numlist 
)
inline

Definition at line 56 of file ms_read.cpp.

Member Function Documentation

static void MemoListCallback::DoRead ( CommandSource source,
MemoInfo mi,
const ChannelInfo ci,
unsigned  index 
)
inlinestatic
void MemoListCallback::HandleNumber ( unsigned  number)
inlinevirtual

Called with a number from the list

Parameters
numberThe number

Reimplemented from NumberList.

Definition at line 60 of file ms_read.cpp.

References DoRead(), and MemoInfo::memos.

Field Documentation

const ChannelInfo* MemoListCallback::ci
private

Definition at line 54 of file ms_read.cpp.

MemoInfo* MemoListCallback::mi
private

Definition at line 53 of file ms_read.cpp.

CommandSource& MemoListCallback::source
private

Definition at line 52 of file ms_read.cpp.


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