Browse Source

ugly quick hack of making getRdatalist() virtual.

git-svn-id: svn://bind10.isc.org/svn/bind10/branches/f2f200910@246 e5f2f494-b856-4b98-b285-d166d9295462
JINMEI Tatuya 15 years ago
parent
commit
03ef4eee4b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/lib/dns/rrset.h

+ 2 - 0
src/lib/dns/rrset.h

@@ -332,6 +332,7 @@ public:
     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 @@ public:
     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_;