[svn] commit: r246 - /branches/f2f200910/src/lib/dns/rrset.h

BIND 10 source code commits bind10-changes at lists.isc.org
Fri Oct 30 19:23:43 UTC 2009


Author: jinmei
Date: Fri Oct 30 19:23:42 2009
New Revision: 246

Log:
ugly quick hack of making getRdatalist() virtual.

Modified:
    branches/f2f200910/src/lib/dns/rrset.h

Modified: branches/f2f200910/src/lib/dns/rrset.h
==============================================================================
--- branches/f2f200910/src/lib/dns/rrset.h (original)
+++ branches/f2f200910/src/lib/dns/rrset.h Fri Oct 30 19:23:42 2009
@@ -332,6 +332,7 @@
     virtual const RRType& getType() const = 0;
     virtual const TTL& getTtl() const = 0;
     virtual void setTtl(const TTL& ttl) = 0;
+    virtual const std::vector<Rdata::RdataPtr>& getRdatalist() const = 0;
 };
 
 class RRset : public AbstractRRset {
@@ -381,6 +382,7 @@
     const TTL& getTtl() const { return (ttl_); } // XXX
     void setTtl(const TTL& ttl) {}              // XXX
     void addRdata(Rdata::RdataPtr rdata) {}     // XXX
+    const std::vector<Rdata::RdataPtr>& getRdatalist() const {} // XXX
 private:
     Name name_;
     RRClass rrclass_;




More information about the bind10-changes mailing list