diff options
author | Dima Volodin <dvv@isc.org> | 2011-08-09 21:54:42 +0200 |
---|---|---|
committer | Dima Volodin <dvv@isc.org> | 2011-08-09 21:54:42 +0200 |
commit | eb5023d2a38e0862e2d9a5f1ca4a3788fc131405 (patch) | |
tree | 3222d1760eca1e9e974beafbbb943453b9c9adcf /src/lib/dns/rdata/generic/ds_43.h | |
parent | Merge branch 'master' into trac1144 (diff) | |
download | kea-eb5023d2a38e0862e2d9a5f1ca4a3788fc131405.tar.xz kea-eb5023d2a38e0862e2d9a5f1ca4a3788fc131405.zip |
[1144] fixes to address jinmei's review notes
Diffstat (limited to 'src/lib/dns/rdata/generic/ds_43.h')
-rw-r--r-- | src/lib/dns/rdata/generic/ds_43.h | 37 |
1 files changed, 1 insertions, 36 deletions
diff --git a/src/lib/dns/rdata/generic/ds_43.h b/src/lib/dns/rdata/generic/ds_43.h index 0bb813587e..24715d997f 100644 --- a/src/lib/dns/rdata/generic/ds_43.h +++ b/src/lib/dns/rdata/generic/ds_43.h @@ -28,6 +28,7 @@ #include <dns/name.h> #include <dns/rdata.h> #include <dns/rdataclass.h> +#include <dns/rrparamregistry.h> #include <stdio.h> #include <time.h> @@ -46,48 +47,12 @@ using namespace isc::util::encode; #include <dns/rdata/generic/detail/ds_like.h> class DS : public DS_LIKE<DS, 43> { - friend class DS_LIKE<DS, 43>; - static string const id; - public: // BEGIN_COMMON_MEMBERS // END_COMMON_MEMBERS }; -/// explicit DS(const std::string& type_str); -inline DS::DS(const std::string& type_str) : DS_LIKE<DS, 43>(type_str) {} - -/// DS(isc::util::InputBuffer& buffer, size_t rdata_len); -inline DS::DS(isc::util::InputBuffer& buffer, size_t rdata_len) : DS_LIKE<DS, 43>(buffer, rdata_len) {} - -/// DS(const DS& other); -inline DS::DS(const DS& other) : DS_LIKE<DS, 43>(other) {} - -/// virtual std::string toText() const; -inline std::string DS::toText() const -{ - return DS_LIKE<DS, 43>::toText(); -} - -/// virtual void toWire(isc::util::OutputBuffer& buffer) const; -inline void DS::toWire(isc::util::OutputBuffer& buffer) const -{ - DS_LIKE<DS, 43>::toWire(buffer); -} - -/// virtual void toWire(AbstractMessageRenderer& renderer) const; -inline void DS::toWire(AbstractMessageRenderer& renderer) const -{ - DS_LIKE<DS, 43>::toWire(renderer); -} - -/// virtual int compare(const Rdata& other) const; -inline int DS::compare(const Rdata& other) const -{ - return DS_LIKE<DS, 43>::compare(other); -} - // END_RDATA_NAMESPACE // END_ISC_NAMESPACE // END_HEADER_GUARD |