Anope IRC Services  Version 2.0
Public Member Functions | Data Fields
Privilege Struct Reference

#include <access.h>

Collaboration diagram for Privilege:
Collaboration graph
[legend]

Public Member Functions

 Privilege (const Anope::string &name, const Anope::string &desc, int rank)
 
bool operator== (const Privilege &other) const
 

Data Fields

Anope::string name
 
Anope::string desc
 
int rank
 

Detailed Description

Definition at line 32 of file access.h.

Constructor & Destructor Documentation

Privilege::Privilege ( const Anope::string name,
const Anope::string desc,
int  rank 
)

Definition at line 63 of file access.cpp.

References desc, descriptions, Anope::string::empty(), Anope::string::equals_ci(), and name.

Member Function Documentation

bool Privilege::operator== ( const Privilege other) const

Definition at line 71 of file access.cpp.

References Anope::string::equals_ci(), and name.

Field Documentation

Anope::string Privilege::desc

Definition at line 35 of file access.h.

Referenced by CommandCSFlags::OnHelp(), CommandCSLevels::OnHelp(), and Privilege().

Anope::string Privilege::name
int Privilege::rank

Definition at line 37 of file access.h.

Referenced by PrivilegeManager::AddPrivilege().


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