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

Public Member Functions

 OperInfo (const std::string &Name)
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

TokenList AllowedOperCommands
TokenList AllowedPrivs
std::bitset< 64 > AllowedUserModes
std::bitset< 64 > AllowedChanModes
std::bitset< 64 > AllowedSnomasks
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 *)

Constructor & Destructor Documentation

◆ OperInfo()

OperInfo::OperInfo ( const std::string &  Name)

Creates a new OperInfo with the specified oper type name.

NameThe name of the oper type.

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.

◆ AllowedSnomasks

std::bitset<64> OperInfo::AllowedSnomasks

Allowed snomasks 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: