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::OperInfo ( )
inline

Definition at line 18 of file os_info.cpp.

Referenced by Unserialize().

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.

OperInfo::~OperInfo ( )

Definition at line 54 of file os_info.cpp.

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

Member Function Documentation

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

Implements Serializable.

Definition at line 24 of file os_info.cpp.

References adder, created, info, and target.

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

Field Documentation

Anope::string OperInfo::adder

Definition at line 15 of file os_info.cpp.

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

time_t OperInfo::created

Definition at line 16 of file os_info.cpp.

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

Anope::string OperInfo::info

Definition at line 14 of file os_info.cpp.

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

Anope::string OperInfo::target

Definition at line 13 of file os_info.cpp.

Referenced by Serialize(), and ~OperInfo().


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