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::MemoInfo ( )

Definition at line 78 of file memos.cpp.

Member Function Documentation

◆ Del()

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().

◆ GetIndex()

unsigned MemoInfo::GetIndex ( Memo m) const

Definition at line 91 of file memos.cpp.

References GetMemo(), and memos.

Referenced by MemoServCore::SendMemoMail().

◆ GetMemo()

Memo * MemoInfo::GetMemo ( unsigned  index) const

◆ GetMemoInfo()

MemoInfo * MemoInfo::GetMemoInfo ( const Anope::string targ,
bool &  is_chan 

◆ HasIgnore()

bool MemoInfo::HasIgnore ( User u)

Field Documentation

◆ ignores

std::vector<Anope::string> MemoInfo::ignores

◆ memomax

int16_t MemoInfo::memomax

◆ memos

Serialize::Checker<std::vector<Memo *> > MemoInfo::memos

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