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

void PrivilegeManager::AddPrivilege ( Privilege  p)

Definition at line 78 of file access.cpp.

References Privileges, and Privilege::rank.

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

void PrivilegeManager::ClearPrivileges ( )

Definition at line 118 of file access.cpp.

References Privileges.

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

Privilege * PrivilegeManager::FindPrivilege ( const Anope::string name)
std::vector< Privilege > & PrivilegeManager::GetPrivileges ( )
void PrivilegeManager::RemovePrivilege ( Privilege p)

Definition at line 92 of file access.cpp.

References Privilege::name, Privileges, and RegisteredChannelList.

Field Documentation

std::vector< Privilege > PrivilegeManager::Privileges

Definition at line 45 of file access.h.

Referenced by AddPrivilege(), ClearPrivileges(), FindPrivilege(), GetPrivileges(), and RemovePrivilege().

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