]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2435] Remove the DatasrcIter implementation for now
authorMukund Sivaraman <muks@isc.org>
Wed, 9 Jan 2013 05:17:02 +0000 (10:47 +0530)
committerMukund Sivaraman <muks@isc.org>
Wed, 9 Jan 2013 05:17:40 +0000 (10:47 +0530)
It is not complete and unused, as the getBeginning() and getEnd()
methods simply throw now.

src/lib/datasrc/rrset_collection.h

index 4effd4fb48fbb02d2c9f8b7e4b6866208284fb9c..6ad494a36dea6f2c0f6b475a03da9471d7532fd8 100644 (file)
@@ -58,28 +58,8 @@ private:
     ZoneUpdaterPtr updater_;
 
 protected:
-    class DatasrcIter : public RRsetCollectionBase::Iter {
-    public:
-        DatasrcIter()
-        {}
-
-        virtual const isc::dns::AbstractRRset& getValue() {
-            isc_throw(isc::NotImplemented, "This method is not implemented.");
-        }
-
-        virtual IterPtr getNext() {
-            isc_throw(isc::NotImplemented, "This method is not implemented.");
-        }
-
-        virtual bool equals(Iter& other) {
-            const DatasrcIter* other_real = dynamic_cast<DatasrcIter*>(&other);
-            if (other_real == NULL) {
-                return (false);
-            }
-
-            isc_throw(isc::NotImplemented, "This method is not implemented.");
-        }
-    };
+    // TODO: RRsetCollectionBase::Iter is not implemented and the
+    // following two methods just throw.
 
     virtual RRsetCollectionBase::IterPtr getBeginning();
     virtual RRsetCollectionBase::IterPtr getEnd();