Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
MemoInfo Struct Reference

#include <memo.h>

Public Member Functions

 MemoInfo ()
 
MemoGetMemo (unsigned index) const
 
unsigned GetIndex (Memo *m) const
 
void Del (unsigned index)
 
bool HasIgnore (User *u)
 

Static Public Member Functions

static MemoInfoGetMemoInfo (const Anope::string &targ, bool &is_chan)
 

Data Fields

int16_t memomax
 
Serialize::Checker
< std::vector< Memo * > > 
memos
 
std::vector< Anope::stringignores
 

Detailed Description

Definition at line 40 of file memo.h.

Constructor & Destructor Documentation

MemoInfo::MemoInfo ( )

Definition at line 78 of file memos.cpp.

Member Function Documentation

void MemoInfo::Del ( unsigned  index)

Definition at line 99 of file memos.cpp.

References GetMemo(), and memos.

Referenced by CommandMSCancel::Execute(), CommandMSDel::Execute(), and MemoDelCallback::HandleNumber().

unsigned MemoInfo::GetIndex ( Memo m) const

Definition at line 91 of file memos.cpp.

References GetMemo(), and memos.

Referenced by MemoServCore::SendMemoMail().

Memo * MemoInfo::GetMemo ( unsigned  index) const
MemoInfo * MemoInfo::GetMemoInfo ( const Anope::string targ,
bool &  is_chan 
)
static
bool MemoInfo::HasIgnore ( User u)

Field Documentation

std::vector<Anope::string> MemoInfo::ignores
int16_t MemoInfo::memomax
Serialize::Checker<std::vector<Memo *> > MemoInfo::memos

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