tdns
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
AGen Struct Reference

IP address, A record generator. More...

#include <record-types.hh>

Inheritance diagram for AGen:
[legend]
Collaboration diagram for AGen:
[legend]

Public Member Functions

 AGen (uint32_t ip)
 
 AGen (DNSMessageReader &dmr)
 
void toMessage (DNSMessageWriter &dpw) override
 to packet/message More...
 
std::string toString () const override
 to master zone format More...
 
DNSType getType () const override
 
ComboAddress getIP () const
 Get IP address in ready to use form. More...
 
- Public Member Functions inherited from RRGen
virtual ~RRGen ()
 

Static Public Member Functions

static std::unique_ptr< RRGenmake (const ComboAddress &)
 
static std::unique_ptr< RRGenmake (const std::string &s)
 

Public Attributes

uint32_t d_ip
 the actual IP More...
 

Detailed Description

IP address, A record generator.

Constructor & Destructor Documentation

AGen::AGen ( uint32_t  ip)
inline
AGen::AGen ( DNSMessageReader dmr)

Here is the call graph for this function:

Member Function Documentation

ComboAddress AGen::getIP ( ) const

Get IP address in ready to use form.

DNSType AGen::getType ( ) const
inlineoverridevirtual

Implements RRGen.

std::unique_ptr< RRGen > AGen::make ( const ComboAddress &  ca)
static
static std::unique_ptr<RRGen> AGen::make ( const std::string &  s)
inlinestatic

Here is the call graph for this function:

void AGen::toMessage ( DNSMessageWriter dpw)
overridevirtual

to packet/message

Implements RRGen.

Here is the call graph for this function:

std::string AGen::toString ( ) const
overridevirtual

to master zone format

Implements RRGen.

Here is the call graph for this function:

Member Data Documentation

uint32_t AGen::d_ip

the actual IP


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