Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions
MyOper Struct Reference
Inheritance diagram for MyOper:
Inheritance graph
Collaboration diagram for MyOper:
Collaboration graph

Public Member Functions

 MyOper (const Anope::string &n, OperType *o)
void Serialize (Serialize::Data &data) const anope_override
- Public Member Functions inherited from Oper
 Oper (const Anope::string &n, OperType *o)
virtual ~Oper ()
- Public Member Functions inherited from Serializable
virtual ~Serializable ()
void QueueUpdate ()
bool IsCached (Serialize::Data &)
void UpdateCache (Serialize::Data &)
bool IsTSCached ()
void UpdateTS ()
Serialize::TypeGetSerializableType () const
- Public Member Functions inherited from Base
 Base ()
virtual ~Base ()
void AddReference (ReferenceBase *r)
void DelReference (ReferenceBase *r)

Static Public Member Functions

static SerializableUnserialize (Serializable *obj, Serialize::Data &data)
- Static Public Member Functions inherited from Oper
static OperFind (const Anope::string &name)
- Static Public Member Functions inherited from Serializable
static const std::list< Serializable * > & GetItems ()

Additional Inherited Members

- Data Fields inherited from Oper
Anope::string name
bool require_oper
Anope::string password
Anope::string certfp
std::vector< Anope::stringhosts
Anope::string vhost
- Data Fields inherited from Serializable
uint64_t id
unsigned short redis_ignore
- Static Public Attributes inherited from Oper
static std::vector< Oper * > opers
- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 Serializable (const Serializable &)
Serializableoperator= (const Serializable &)

Detailed Description

Definition at line 14 of file os_oper.cpp.

Constructor & Destructor Documentation

◆ MyOper()

MyOper::MyOper ( const Anope::string n,
OperType o 

Definition at line 16 of file os_oper.cpp.

Referenced by CommandOSOper::Execute(), and Unserialize().

Member Function Documentation

◆ Serialize()

void MyOper::Serialize ( Serialize::Data data) const

Implements Serializable.

Definition at line 18 of file os_oper.cpp.

References OperType::GetName(), Oper::name, and Oper::ot.

◆ Unserialize()

static Serializable* MyOper::Unserialize ( Serializable obj,
Serialize::Data data 

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