Anope IRC Services  Version 2.0
Public Member Functions | Private Member Functions | Private Attributes
MyForbidService Class Reference
Inheritance diagram for MyForbidService:
Inheritance graph
Collaboration diagram for MyForbidService:
Collaboration graph

Public Member Functions

 MyForbidService (Module *m)
 ~MyForbidService ()
void AddForbid (ForbidData *d) anope_override
void RemoveForbid (ForbidData *d) anope_override
ForbidDataCreateForbid () anope_override
ForbidDataFindForbid (const Anope::string &mask, ForbidType ftype) anope_override
std::vector< ForbidData * > GetForbids () anope_override
- Public Member Functions inherited from ForbidService
 ForbidService (Module *m)
- Public Member Functions inherited from Service
 Service (Module *o, const Anope::string &t, const Anope::string &n)
virtual ~Service ()
void Register ()
void Unregister ()
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Private Member Functions

std::vector< ForbidData * > & forbids (unsigned t)

Private Attributes

Serialize::Checker< std::vector< ForbidData * >[FT_SIZE - 1]> forbid_data

Additional Inherited Members

- Static Public Member Functions inherited from Service
static ServiceFindService (const Anope::string &t, const Anope::string &n)
static std::vector< Anope::stringGetServiceKeys (const Anope::string &t)
static void AddAlias (const Anope::string &t, const Anope::string &n, const Anope::string &v)
static void DelAlias (const Anope::string &t, const Anope::string &n)
- Data Fields inherited from Service
Anope::string type
Anope::string name

Detailed Description

Definition at line 62 of file os_forbid.cpp.

Constructor & Destructor Documentation

◆ MyForbidService()

MyForbidService::MyForbidService ( Module m)

Definition at line 69 of file os_forbid.cpp.

◆ ~MyForbidService()

MyForbidService::~MyForbidService ( )

Definition at line 71 of file os_forbid.cpp.

Member Function Documentation

◆ AddForbid()

void MyForbidService::AddForbid ( ForbidData d)

Implements ForbidService.

Definition at line 78 of file os_forbid.cpp.

◆ CreateForbid()

ForbidData* MyForbidService::CreateForbid ( )

Implements ForbidService.

Definition at line 91 of file os_forbid.cpp.

References ForbidDataImpl::ForbidDataImpl().

◆ FindForbid()

ForbidData* MyForbidService::FindForbid ( const Anope::string mask,
ForbidType  ftype 

◆ forbids()

std::vector<ForbidData *>& MyForbidService::forbids ( unsigned  t)

Definition at line 66 of file os_forbid.cpp.

◆ GetForbids()

std::vector<ForbidData *> MyForbidService::GetForbids ( )

◆ RemoveForbid()

void MyForbidService::RemoveForbid ( ForbidData d)

Implements ForbidService.

Definition at line 83 of file os_forbid.cpp.

Field Documentation

◆ forbid_data

Serialize::Checker<std::vector<ForbidData *>[FT_SIZE - 1]> MyForbidService::forbid_data

Definition at line 64 of file os_forbid.cpp.

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