16 #include <boost/shared_ptr.hpp> 26 class AbstractMessageRenderer;
71 typedef boost::shared_ptr<Rdata>
RdataPtr;
142 void operator=(
const Rdata& source);
152 virtual std::string toText()
const = 0;
188 virtual int compare(
const Rdata& other)
const = 0;
230 virtual uint16_t getLength()
const;
255 explicit Generic(
const std::string& rdata_string);
324 virtual std::string toText()
const;
363 virtual int compare(
const Rdata& other)
const;
453 const std::string& rdata_string);
493 const Rdata& source);
The Name class encapsulates DNS names.
const unsigned int MAX_CHARSTRING_LEN
The maximum allowable length of character-string containing in RDATA as defined in RFC1035...
const size_t MAX_RDLENGTH
Possible maximum length of RDATA, which is the maximum unsigned 16 bit value.
InvalidRdataLength(const char *file, size_t line, const char *what)
Base class for all sorts of text parse errors.
boost::shared_ptr< const Rdata > ConstRdataPtr
The Rdata class is an abstract base class that provides a set of common interfaces to manipulate conc...
std::ostream & operator<<(std::ostream &os, const CSVRow &row)
Overrides standard output stream operator for CSVRow object.
RdataPtr createRdata(const RRType &rrtype, const RRClass &rrclass, const std::string &rdata_string)
Create RDATA of a given pair of RR type and class from a string.
The generic::Generic class represents generic "unknown" RDATA.
The RRClass class encapsulates DNS resource record classes.
Options
Options how the parsing should work.
The AbstractMessageRenderer class is an abstract base class that provides common interfaces for rende...
InvalidRdataText(const char *file, size_t line, const char *what)
A standard DNS module exception that is thrown if RDATA parser fails to recognize a given textual rep...
A standard DNS module exception that is thrown if RDATA parser encounters an invalid or inconsistent ...
virtual ~Rdata()
The destructor.
The OutputBuffer class is a buffer abstraction for manipulating mutable data.
Defines the logger used by the top-level component of kea-lfc.
int compareNames(const Name &n1, const Name &n2)
Gives relative ordering of two names in terms of DNSSEC RDATA ordering.
The RRType class encapsulates DNS resource record types.
Rdata()
The default constructor.
Tokenizer for parsing DNS master files.
Set of issue callbacks for a loader.
boost::shared_ptr< Rdata > RdataPtr
The RdataPtr type is a pointer-like type, pointing to an object of some concrete derived class of Rda...