Anope IRC Services  Version 2.0
Static Public Member Functions | Static Private Attributes
PrivilegeManager Class Reference

#include <access.h>

Static Public Member Functions

static void AddPrivilege (Privilege p)
 
static void RemovePrivilege (Privilege &p)
 
static PrivilegeFindPrivilege (const Anope::string &name)
 
static std::vector< Privilege > & GetPrivileges ()
 
static void ClearPrivileges ()
 

Static Private Attributes

static std::vector< PrivilegePrivileges
 

Detailed Description

Definition at line 43 of file access.h.

Member Function Documentation

◆ AddPrivilege()

void PrivilegeManager::AddPrivilege ( Privilege  p)
static

Definition at line 78 of file access.cpp.

References Privilege::rank.

Referenced by Configuration::Conf::Conf().

◆ ClearPrivileges()

void PrivilegeManager::ClearPrivileges ( )
static

Definition at line 118 of file access.cpp.

Referenced by Configuration::Conf::Conf().

◆ FindPrivilege()

Privilege * PrivilegeManager::FindPrivilege ( const Anope::string name)
static

◆ GetPrivileges()

std::vector< Privilege > & PrivilegeManager::GetPrivileges ( )
static

◆ RemovePrivilege()

void PrivilegeManager::RemovePrivilege ( Privilege p)
static

Definition at line 92 of file access.cpp.

References Privilege::name, and RegisteredChannelList.

Field Documentation

◆ Privileges

std::vector< Privilege > PrivilegeManager::Privileges
staticprivate

Definition at line 45 of file access.h.

Referenced by Privilege::operator==().


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