InspIRCd  3.0
Public Types | Public Member Functions | Public Attributes | List of all members
OperInfo Class Reference
Inheritance diagram for OperInfo:

Public Types

typedef insp::flat_set< std::string > PrivSet

Public Member Functions

std::string getConfig (const std::string &key)
void init ()
- Public Member Functions inherited from refcountbase
unsigned int GetReferenceCount () const
void refcount_inc () const
bool refcount_dec () const

Public Attributes

PrivSet AllowedOperCommands
PrivSet AllowedPrivs
std::bitset< 64 > AllowedUserModes
std::bitset< 64 > AllowedChanModes
reference< ConfigTagoper_block
reference< ConfigTagtype_block
std::vector< reference< ConfigTag > > class_blocks
std::string name

Additional Inherited Members

- Static Public Member Functions inherited from refcountbase
static void * operator new (size_t, void *m)
static void * operator new (size_t)
static void operator delete (void *)

Member Function Documentation

◆ getConfig()

std::string OperInfo::getConfig ( const std::string &  key)

Get a configuration item, searching in the oper, type, and class blocks (in that order)

Member Data Documentation

◆ AllowedChanModes

std::bitset<64> OperInfo::AllowedChanModes

Allowed channel modes from oper classes.

◆ AllowedUserModes

std::bitset<64> OperInfo::AllowedUserModes

Allowed user modes from oper classes.

◆ class_blocks

std::vector<reference<ConfigTag> > OperInfo::class_blocks

<class> blocks referenced from the <type> block. These define individual permissions

◆ name

std::string OperInfo::name

Name of the oper type; i.e. the one shown in WHOIS

◆ oper_block

reference<ConfigTag> OperInfo::oper_block

<oper> block used for this oper-up. May be NULL.

◆ type_block

reference<ConfigTag> OperInfo::type_block

<type> block used for this oper-up. Valid for local users, may be NULL on remote

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