Public Member Functions | Static Public Member Functions | Data Fields

ForbidData Struct Reference

#include <os_forbid.h>

Inherits Serializable.

Collaboration diagram for ForbidData:
Collaboration graph
[legend]

Public Member Functions

 ForbidData ()
void Serialize (Serialize::Data &data) const anope_override

Static Public Member Functions

static SerializableUnserialize (Serializable *obj, Serialize::Data &data)

Data Fields

Anope::string mask
Anope::string creator
Anope::string reason
time_t created
time_t expires
ForbidType type

Detailed Description

Definition at line 13 of file os_forbid.h.


Constructor & Destructor Documentation

ForbidData::ForbidData (  )  [inline]

Definition at line 22 of file os_forbid.h.


Member Function Documentation

void ForbidData::Serialize ( Serialize::Data &  data  )  const [virtual]

Implements Serializable.

Definition at line 43 of file os_forbid.h.

References created, creator, expires, mask, reason, and type.

Serializable * ForbidData::Unserialize ( Serializable obj,
Serialize::Data &  data 
) [static]

Definition at line 53 of file os_forbid.h.

References anope_dynamic_static_cast(), forbid_service(), and mask.


Field Documentation

Definition at line 18 of file os_forbid.h.

Referenced by CommandOSForbid::Execute(), and Serialize().

Definition at line 16 of file os_forbid.h.

Referenced by CommandOSForbid::Execute(), OSForbid::OnPreCommand(), and Serialize().

Definition at line 19 of file os_forbid.h.

Referenced by CommandOSForbid::Execute(), and Serialize().

Definition at line 15 of file os_forbid.h.

Referenced by CommandOSForbid::Execute(), Serialize(), and Unserialize().

Definition at line 20 of file os_forbid.h.

Referenced by CommandOSForbid::Execute(), and Serialize().


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