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

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 ( const Anope::string n)
inline

Definition at line 26 of file os_dns.cpp.

References zones.

Referenced by Unserialize().

DNSZone::~DNSZone ( )
inline

Definition at line 31 of file os_dns.cpp.

References zones.

Member Function Documentation

static DNSZone* DNSZone::Find ( const Anope::string name)
inlinestatic
void DNSZone::Serialize ( Serialize::Data data) const
inlinevirtual

Implements Serializable.

Definition at line 38 of file os_dns.cpp.

References name, and stringify().

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

Definition at line 46 of file os_dns.cpp.

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

Field Documentation

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

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