 |
Kea
1.5.0
|
Go to the documentation of this file.
25 #if defined(__sun) && defined(DS)
38 class AbstractMessageRenderer;
112 explicit RRType(uint16_t typecode) : typecode_(typecode) {}
144 explicit RRType(
const std::string& typestr);
166 const std::string
toText()
const;
206 uint16_t
getCode()
const {
return (typecode_); }
227 {
return (typecode_ == other.typecode_); }
238 {
return (typecode_ != other.typecode_); }
258 {
return (typecode_ < other.typecode_); }
336 static RRType rrtype(105);
342 static RRType rrtype(104);
348 static RRType rrtype(107);
354 static RRType rrtype(106);
360 static RRType rrtype(103);
366 static RRType rrtype(251);
372 static RRType rrtype(250);
378 static RRType rrtype(253);
384 static RRType rrtype(252);
390 static RRType rrtype(255);
396 static RRType rrtype(254);
402 static RRType rrtype(257);
408 static RRType rrtype(256);
582 static RRType rrtype(32769);
648 static RRType rrtype(249);
static const RRType & NXT()
static const RRType & TKEY()
static const RRType & MF()
static const RRType & A6()
static const RRType & GPOS()
static const RRType & WKS()
RRType(uint16_t typecode)
Constructor from an integer type code.
static const RRType & NSAP_PTR()
static const RRType & CERT()
static const RRType & A()
static const RRType & NSEC3PARAM()
static const RRType & SSHFP()
static const RRType & X25()
bool operator==(const RRType &other) const
Same as equals().
static const RRType & SIG()
static const RRType & HIP()
static const RRType & MB()
static const RRType & HINFO()
static const RRType & RRSIG()
static const RRType & UNSPEC()
static const RRType & SPF()
const std::string toText() const
Convert the RRType to a string.
static const RRType & KEY()
static const RRType & MINFO()
uint16_t getCode() const
Returns the RR type code as a 16-bit unsigned integer.
static const RRType & Null()
static const RRType & LP()
static const RRType & MX()
A standard DNS module exception that is thrown if an RRType object is being constructed from a incomp...
bool nequals(const RRType &other) const
Return true iff two RRTypes are not equal.
static const RRType & PTR()
static const RRType & CAA()
static const RRType & MAILB()
static const RRType & NSAP()
static const RRType & TXT()
static const RRType & MR()
bool operator<(const RRType &other) const
Less-than comparison for RRType against other.
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
static const RRType & IPSECKEY()
Defines the logger used by the top-level component of kea-dhcp-ddns.
virtual const char * what() const
Returns a C-style character string of the cause of the exception.
static const RRType & PX()
A standard DNS module exception that is thrown if an RRType object is being constructed from an unrec...
ostream & operator<<(std::ostream &os, const EDNS &edns)
Insert the EDNS as a string into stream.
static const RRType & NSEC3()
static const RRType & NSEC()
static const RRType & RT()
bool operator!=(const RRType &other) const
Same as nequals().
static const RRType & DNAME()
static const RRType & TSIG()
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
static const RRType & OPT()
bool equals(const RRType &other) const
Return true iff two RRTypes are equal.
static const RRType & DHCID()
Base class for all sorts of text parse errors.
static const RRType & AFSDB()
static const RRType & L32()
static const RRType & KX()
static const RRType & ANY()
static const RRType & DS()
static const RRType & RP()
static const RRType & SRV()
void toWire(AbstractMessageRenderer &renderer) const
Render the RRType in the wire format.
static const RRType & NAPTR()
static const RRType & L64()
InvalidRRType(const char *file, size_t line, const char *what)
static const RRType & MD()
static const RRType & ISDN()
static const RRType & APL()
static const RRType & MAILA()
static const RRType & MG()
static const RRType & TLSA()
static const RRType & DNSKEY()
static const RRType & NID()
The RRType class encapsulates DNS resource record types.
static const RRType & NS()
static const RRType & AAAA()
static const RRType & LOC()
static const RRType & CNAME()
IncompleteRRType(const char *file, size_t line, const char *what)
static const RRType & IXFR()
static const RRType & URI()
static const RRType & DLV()
static const RRType & SOA()
static const RRType & AXFR()