Anope IRC Services  Version 2.0
Public Member Functions | Static Public Member Functions | Data Fields
OperInfo Struct Reference
Inheritance diagram for OperInfo:
Inheritance graph
[legend]
Collaboration diagram for OperInfo:
Collaboration graph
[legend]

Public Member Functions

 OperInfo ()
 
 OperInfo (const Anope::string &t, const Anope::string &i, const Anope::string &a, time_t c)
 
 ~OperInfo ()
 
void Serialize (Serialize::Data &data) const anope_override
 
- 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 Serializable
static const std::list< Serializable * > & GetItems ()
 

Data Fields

Anope::string target
 
Anope::string info
 
Anope::string adder
 
time_t created
 
- Data Fields inherited from Serializable
uint64_t id
 
unsigned short redis_ignore
 

Additional Inherited Members

- Protected Member Functions inherited from Serializable
 Serializable (const Anope::string &serialize_type)
 
 Serializable (const Serializable &)
 
Serializableoperator= (const Serializable &)
 

Detailed Description

Definition at line 11 of file os_info.cpp.

Constructor & Destructor Documentation

◆ OperInfo() [1/2]

OperInfo::OperInfo ( )
inline

Definition at line 18 of file os_info.cpp.

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

◆ OperInfo() [2/2]

OperInfo::OperInfo ( const Anope::string t,
const Anope::string i,
const Anope::string a,
time_t  c 
)
inline

Definition at line 19 of file os_info.cpp.

References ~OperInfo().

◆ ~OperInfo()

OperInfo::~OperInfo ( )

Definition at line 54 of file os_info.cpp.

References OperInfos::Find(), Extensible::GetExt(), and target.

Referenced by OperInfo().

Member Function Documentation

◆ Serialize()

void OperInfo::Serialize ( Serialize::Data data) const
inlinevirtual

Implements Serializable.

Definition at line 24 of file os_info.cpp.

References adder, created, info, target, and Unserialize().

◆ Unserialize()

Serializable * OperInfo::Unserialize ( Serializable obj,
Serialize::Data data 
)
static

Definition at line 69 of file os_info.cpp.

References anope_dynamic_static_cast(), OperInfos::Find(), OperInfo(), and Extensible::Require().

Referenced by Serialize().

Field Documentation

◆ adder

Anope::string OperInfo::adder

Definition at line 15 of file os_info.cpp.

Referenced by OSInfo::OnInfo(), and Serialize().

◆ created

time_t OperInfo::created

Definition at line 16 of file os_info.cpp.

Referenced by OSInfo::OnInfo(), and Serialize().

◆ info

Anope::string OperInfo::info

◆ target

Anope::string OperInfo::target

Definition at line 13 of file os_info.cpp.

Referenced by CommandOSInfo::Execute(), Serialize(), and ~OperInfo().


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