Browse Source

[2435] Remove the DatasrcIter implementation for now

It is not complete and unused, as the getBeginning() and getEnd()
methods simply throw now.
Mukund Sivaraman 12 years ago
parent
commit
0e9831ebbe
1 changed files with 2 additions and 22 deletions
  1. 2 22
      src/lib/datasrc/rrset_collection.h

+ 2 - 22
src/lib/datasrc/rrset_collection.h

@@ -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();