Kea
1.9.9-git
|
Public Member Functions | |
virtual RdataPtr | create (const string &rdata_str) const |
Create RDATA from a string. More... | |
virtual RdataPtr | create (InputBuffer &buffer, size_t rdata_len) const |
Create RDATA from wire-format data. More... | |
virtual RdataPtr | create (const Rdata &source) const |
Create RDATA from another Rdata object of the same type. More... | |
virtual RdataPtr | create (MasterLexer &lexer, const Name *origin, MasterLoader::Options options, MasterLoaderCallbacks &callbacks) const |
Create RDATA using MasterLexer. More... | |
Public Member Functions inherited from isc::dns::rdata::AbstractRdataFactory | |
virtual | ~AbstractRdataFactory () |
The destructor. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from isc::dns::rdata::AbstractRdataFactory | |
AbstractRdataFactory () | |
The default constructor. More... | |
Definition at line 165 of file rrparamregistry.cc.
|
inlinevirtual |
Create RDATA from a string.
This method creates from a string an Rdata
object of specific class corresponding to the specific derived class of AbstractRdataFactory
.
rdata_str | A string of textual representation of the Rdata . |
RdataPtr
object pointing to the created Rdata
object. Implements isc::dns::rdata::AbstractRdataFactory.
Definition at line 167 of file rrparamregistry.cc.
|
inlinevirtual |
Create RDATA from wire-format data.
This method creates from wire-format binary data an Rdata
object of specific class corresponding to the specific derived class of AbstractRdataFactory
.
buffer | A reference to an InputBuffer object storing the Rdata to parse. |
rdata_len | The length in buffer of the Rdata . In bytes. |
RdataPtr
object pointing to the created Rdata
object. Implements isc::dns::rdata::AbstractRdataFactory.
Definition at line 172 of file rrparamregistry.cc.
|
inlinevirtual |
Create RDATA from another Rdata
object of the same type.
This method creates an Rdata
object of specific class corresponding to the specific derived class of AbstractRdataFactory
, copying the content of the given Rdata
, source
.
source
must be an object of the concrete derived class corresponding to the specific derived class of AbstractRdataFactory
; otherwise, an exception of class std::bad_cast
will be thrown.
source | A reference to an Rdata object whose content is to be copied to the created Rdata object. |
RdataPtr
object pointing to the created Rdata
object. Implements isc::dns::rdata::AbstractRdataFactory.
Definition at line 177 of file rrparamregistry.cc.
|
inlinevirtual |
Create RDATA using MasterLexer.
This version of the method defines the entry point of factory of a specific RR type and class for RRParamRegistry::createRdata()
that uses MasterLexer
. See its description for the expected behavior and meaning of the parameters.
Implements isc::dns::rdata::AbstractRdataFactory.
Definition at line 182 of file rrparamregistry.cc.