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

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
Moduleowner
 
Anope::string type
 
Anope::string name
 

Detailed Description

Definition at line 62 of file os_forbid.cpp.

Constructor & Destructor Documentation

MyForbidService::MyForbidService ( Module m)
inline

Definition at line 69 of file os_forbid.cpp.

MyForbidService::~MyForbidService ( )
inline

Definition at line 71 of file os_forbid.cpp.

References GetForbids().

Member Function Documentation

void MyForbidService::AddForbid ( ForbidData d)
inlinevirtual

Implements ForbidService.

Definition at line 78 of file os_forbid.cpp.

References forbids().

ForbidData* MyForbidService::CreateForbid ( )
inlinevirtual

Implements ForbidService.

Definition at line 91 of file os_forbid.cpp.

ForbidData* MyForbidService::FindForbid ( const Anope::string mask,
ForbidType  ftype 
)
inlinevirtual
std::vector<ForbidData *>& MyForbidService::forbids ( unsigned  t)
inlineprivate

Definition at line 66 of file os_forbid.cpp.

Referenced by AddForbid(), FindForbid(), GetForbids(), and RemoveForbid().

std::vector<ForbidData *> MyForbidService::GetForbids ( )
inlinevirtual
void MyForbidService::RemoveForbid ( ForbidData d)
inlinevirtual

Implements ForbidService.

Definition at line 83 of file os_forbid.cpp.

References forbids().

Field Documentation

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

Definition at line 64 of file os_forbid.cpp.


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