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

Public Member Functions

 DNSZone (const Anope::string &n)
 ~DNSZone ()
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 DNSZoneFind (const Anope::string &name)
- Static Public Member Functions inherited from Serializable
static const std::list< Serializable * > & GetItems ()

Data Fields

Anope::string name
std::set< Anope::string, ci::lessservers
- 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 21 of file os_dns.cpp.

Constructor & Destructor Documentation

◆ DNSZone()

DNSZone::DNSZone ( const Anope::string n)

Definition at line 26 of file os_dns.cpp.

References zones.

Referenced by CommandOSDNS::AddZone(), and Unserialize().

◆ ~DNSZone()

DNSZone::~DNSZone ( )

Definition at line 31 of file os_dns.cpp.

References zones.

Member Function Documentation

◆ Find()

static DNSZone* DNSZone::Find ( const Anope::string name)

◆ Serialize()

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

Implements Serializable.

Definition at line 38 of file os_dns.cpp.

References name, and stringify().

◆ Unserialize()

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

Definition at line 46 of file os_dns.cpp.

References anope_dynamic_static_cast(), DNSZone(), name, servers, and stringify().

Field Documentation

◆ name

Anope::string DNSZone::name

◆ servers

std::set<Anope::string, ci::less> DNSZone::servers

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